com.overzealous.remark.convert
Class DefaultNodeHandler

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

public class DefaultNodeHandler
extends AbstractNodeHandler

Default handler for unknown top-level nodes.

Author:
Phil DeJarnett

Constructor Summary
protected DefaultNodeHandler()
           
 
Method Summary
static DefaultNodeHandler getInstance()
           
 void handleNode(NodeHandler parent, Element node, DocumentConverter converter)
          For the default state element, the nodes are simply ignored, recursing as necessary.
 
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

DefaultNodeHandler

protected DefaultNodeHandler()
Method Detail

getInstance

public static DefaultNodeHandler getInstance()

handleNode

public void handleNode(NodeHandler parent,
                       Element node,
                       DocumentConverter converter)
For the default state element, the nodes are simply ignored, recursing as necessary.

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