| Modifier and Type | Field and Description |
|---|---|
| private ContentHandler | m_contentHandler
Local reference to a ContentHandler |
| private LocatorImpl | m_locator
Locator object for this TreeWalker |
| pack-priv boolean |
| Access | Constructor and Description |
|---|---|
| public | TreeWalker(ContentHandler
The implementation of the contentHandler, String System identifier for the document.
contentHandler operation (toXMLString, digest, ...) systemId)Constructor. |
| public | TreeWalker(ContentHandler
The implementation of the
contentHandler operation (toXMLString, digest, ...) contentHandler)Constructor. |
| Modifier and Type | Method and Description |
|---|---|
| private final void | |
| protected void | |
| public ContentHandler | Returns: the ContentHandler used for the tree walkGet the ContentHandler used for the tree walk. |
| public void | Returns: the ContentHandler used for the tree walkGet the ContentHandler used for the tree walk. |
| protected void | |
| public void | |
| public void | |
| public void | traverseFragment(Node
Node in the tree where to start traversal pos)Perform a pre-order traversal non-recursive style. |
| m_contentHandler | back to summary |
|---|---|
| private ContentHandler m_contentHandler Local reference to a ContentHandler | |
| m_locator | back to summary |
|---|---|
| private LocatorImpl m_locator Locator object for this TreeWalker | |
| nextIsRaw | back to summary |
|---|---|
| pack-priv boolean nextIsRaw | |
| TreeWalker | back to summary |
|---|---|
| public TreeWalker(ContentHandler contentHandler, String systemId) Constructor.
| |
| TreeWalker | back to summary |
|---|---|
| public TreeWalker(ContentHandler contentHandler) Constructor.
| |
| dispatachChars | back to summary |
|---|---|
| private final void dispatachChars(Node node) throws SAXException Optimized dispatch of characters. | |
| endNode | back to summary |
|---|---|
| protected void endNode(Node node) throws SAXException End processing of given node
| |
| getContentHandler | back to summary |
|---|---|
| public ContentHandler getContentHandler() Get the ContentHandler used for the tree walk.
| |
| setContentHandler | back to summary |
|---|---|
| public void setContentHandler(ContentHandler ch) Get the ContentHandler used for the tree walk.
| |
| startNode | back to summary |
|---|---|
| protected void startNode(Node node) throws SAXException Start processing given node
| |
| traverse | back to summary |
|---|---|
| public void traverse(Node pos) throws SAXException 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.
| |
| traverse | back to summary |
|---|---|
| public void traverse(Node pos, Node top) throws SAXException 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. | |
| traverseFragment | back to summary |
|---|---|
| public void traverseFragment(Node pos) throws SAXException Perform a pre-order traversal non-recursive style. In contrast to the traverse() method this method will not issue startDocument() and endDocument() events to the SAX listener.
| |