Enhydra 3.1.1b1 API

org.enhydra.xml.lazydom
Class LazyDOMTraversal

java.lang.Object
  |
  +--org.enhydra.xml.dom.DOMTraversal
        |
        +--org.enhydra.xml.lazydom.LazyDOMTraversal

public synchronized class LazyDOMTraversal
extends DOMTraversal


Inner classes inherited from class org.enhydra.xml.dom.DOMTraversal
DOMTraversal.Handler
 
Fields inherited from class org.enhydra.xml.dom.DOMTraversal
ALL_ATTRIBUTES, fDepth, fHandler, fOptions, fProcessingAttribute, SORT_ATTRIBUTES
 
Constructor Summary
LazyDOMTraversal(DOMTraversal.Handler, int)
           
LazyDOMTraversal(int)
           
 
Method Summary
 void processAttributes(Element)
          Process the attributes of an element.
 void processChildren(Node)
          Process the children of a node.
 void processDocumentType(Document)
          Process a DocumentType attribute of a Document node, if it exists.
 void processDocumentTypeContents(DocumentType)
          Process the contents of a DocumentType node,
protected  void processNode(Node)
          Processing based on node type.
 void traverse(Node)
          Traverse a DOM tree or subtree.
 
Methods inherited from class org.enhydra.xml.dom.DOMTraversal
getDepth, getTraverser, processingAttribute, setHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LazyDOMTraversal

public LazyDOMTraversal(DOMTraversal.Handler,
                        int)

LazyDOMTraversal

public LazyDOMTraversal(int)
Method Detail

traverse

public void traverse(Node)
Description copied from class: DOMTraversal
Traverse a DOM tree or subtree.
Overrides:
traverse in class DOMTraversal
Tags copied from class: DOMTraversal
Parameters:
root - The root of the DOM tree or subtree that is to be traversed.
Throws:
DOMError - Any internal exceptions are encapsulated in this error.

processChildren

public void processChildren(Node)
Description copied from class: DOMTraversal
Process the children of a node.
Overrides:
processChildren in class DOMTraversal

processAttributes

public void processAttributes(Element)
Description copied from class: DOMTraversal
Process the attributes of an element.
Overrides:
processAttributes in class DOMTraversal

processDocumentType

public void processDocumentType(Document)
Description copied from class: DOMTraversal
Process a DocumentType attribute of a Document node, if it exists.
Overrides:
processDocumentType in class DOMTraversal

processDocumentTypeContents

public void processDocumentTypeContents(DocumentType)
Description copied from class: DOMTraversal
Process the contents of a DocumentType node,
Overrides:
processDocumentTypeContents in class DOMTraversal

processNode

protected void processNode(Node)
Description copied from class: DOMTraversal
Processing based on node type. All nodes go through here.
Overrides:
processNode in class DOMTraversal

Enhydra 3.1.1b1 API