com.overzealous.remark.convert
Class Header

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

public class Header
extends AbstractNodeHandler

Handles header nodes (h1 through h6)

Author:
Phil DeJarnett

Constructor Summary
Header()
           
 
Method Summary
 void handleNode(NodeHandler parent, Element node, DocumentConverter converter)
          Renders a header node (h1..h6).
 
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

Header

public Header()
Method Detail

handleNode

public void handleNode(NodeHandler parent,
                       Element node,
                       DocumentConverter converter)
Renders a header node (h1..h6). If enabled, also handles the headerID attribute.

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