| Modifier and Type | Field and Description |
|---|---|
| private final ContentHandler | m_contentHandler
Local reference to a ContentHandler |
| private final LocatorImpl | m_locator
Locator object for this TreeWalker |
| private final SerializationHandler | m_Serializer
If m_contentHandler is a SerializationHandler, then this is a reference to the same object. |
| pack-priv boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public | TreeWalker(ContentHandler
The implemention of the
contentHandler operation (toXMLString, digest, ...) contentHandler, String systemId)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. |
| protected void | |
| public void | |
| public void |
| m_contentHandler | back to summary |
|---|---|
| private final ContentHandler m_contentHandler Local reference to a ContentHandler | |
| m_locator | back to summary |
|---|---|
| private final LocatorImpl m_locator Locator object for this TreeWalker | |
| m_Serializer | back to summary |
|---|---|
| private final SerializationHandler m_Serializer If m_contentHandler is a SerializationHandler, then this is a reference to the same object. | |
| nextIsRaw | back to summary |
|---|---|
| pack-priv boolean nextIsRaw | |
| TreeWalker | back to summary |
|---|---|
| public TreeWalker(ContentHandler ch) | |
| TreeWalker | back to summary |
|---|---|
| public TreeWalker(ContentHandler contentHandler, String systemId) 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.
| |
| 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. | |