com.overzealous.remark.convert
Class HorizontalRule

java.lang.Object
  extended by com.overzealous.remark.convert.AbstractNodeHandler
      extended by com.overzealous.remark.convert.HorizontalRule
All Implemented Interfaces:
NodeHandler

public class HorizontalRule
extends AbstractNodeHandler

Handles a simple hr tag

Author:
Phil DeJarnett

Constructor Summary
HorizontalRule()
           
 
Method Summary
 void handleNode(NodeHandler parent, Element node, DocumentConverter converter)
          Handles an HTML Element node.
 
Methods inherited from class com.overzealous.remark.convert.AbstractNodeHandler
handleIgnoredHTMLElement, handleTextNode, prependAndRecurse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HorizontalRule

public HorizontalRule()
Method Detail

handleNode

public void handleNode(NodeHandler parent,
                       Element node,
                       DocumentConverter converter)
Description copied from interface: NodeHandler
Handles an HTML Element node. This is where most of the work is done. Which NodeHandler is used is based on the tagName of the element.

Parameters:
parent - The previous node walker, in case we just want to remove an element.
node - Node to handle
converter - Parent converter for this object.


© 2011 OverZealous Creations, LLC - BitBucket Repository