| java.lang.Object org.apache.xml.utils.TreeWalker
TreeWalker | public class TreeWalker (Code) | | This class does a pre-order walk of the DOM tree, calling a ContentHandler
interface as it goes.
|
nextIsRaw | boolean nextIsRaw(Code) | | Flag indicating whether following text to be processed is raw text
|
TreeWalker | public TreeWalker(ContentHandler contentHandler, DOMHelper dh, String systemId)(Code) | | Constructor.
Parameters: contentHandler - The implemention of the Parameters: systemId - System identifier for the document.contentHandler operation (toXMLString, digest, ...) |
TreeWalker | public TreeWalker(ContentHandler contentHandler, DOMHelper dh)(Code) | | Constructor.
Parameters: contentHandler - The implemention of thecontentHandler operation (toXMLString, digest, ...) |
TreeWalker | public TreeWalker(ContentHandler contentHandler)(Code) | | Constructor.
Parameters: contentHandler - The implemention of thecontentHandler operation (toXMLString, digest, ...) |
getContentHandler | public ContentHandler getContentHandler()(Code) | | Get the ContentHandler used for the tree walk.
the ContentHandler used for the tree walk |
setContentHandler | public void setContentHandler(ContentHandler ch)(Code) | | Get the ContentHandler used for the tree walk.
the ContentHandler used for the tree walk |
traverse | public void traverse(Node pos) throws org.xml.sax.SAXException(Code) | | Perform a pre-order traversal non-recursive style.
Note that TreeWalker assumes that the subtree is intended to represent
a complete (though not necessarily well-formed) document and, during a
traversal, startDocument and endDocument will always be issued to the
SAX listener.
Parameters: pos - Node in the tree where to start traversal throws: TransformerException - |
traverse | public void traverse(Node pos, Node top) throws org.xml.sax.SAXException(Code) | | Perform a pre-order traversal non-recursive style.
Note that TreeWalker assumes that the subtree is intended to represent
a complete (though not necessarily well-formed) document and, during a
traversal, startDocument and endDocument will always be issued to the
SAX listener.
Parameters: pos - Node in the tree where to start traversal Parameters: top - Node in the tree where to end traversal throws: TransformerException - |
|
|