#include <TreeWalker.hpp>
Inheritance diagram for TreeWalker
|
Constructor.
|
|
Called when leaving a node.
node |
The node
|
Reimplemented in FormatterTreeWalker, and XalanDocumentPrefixResolver::NamespaceNodesTreeWalker.
|
Called when leaving a node.
node |
The node
|
Reimplemented in FormatterTreeWalker, and XalanDocumentPrefixResolver::NamespaceNodesTreeWalker.
|
Called when first walking a node.
node |
The node
|
Reimplemented in FormatterTreeWalker, and XalanDocumentPrefixResolver::NamespaceNodesTreeWalker.
|
Called when first walking a node.
node |
The node
|
Reimplemented in FormatterTreeWalker, and XalanDocumentPrefixResolver::NamespaceNodesTreeWalker.
|
Perform a document-order traversal stopping at the provided parent node.
Derived classes and stop the traversal by returning true from startNode() or endNode(). If that happens, the function will return the next node in document order. If desired, the caller can start traversing the tree again from that point. Note that terminal nodes will always have startNode() and endNode() called before the traversal terminates.
pos | The node in the tree with which to start the walk |
parent |
The parent of pos. Note that for multiple calls that continue the traversal, this node must remain the same.
|
|
Perform a document-order traversal stopping at the provided parent node.
Derived classes and stop the traversal by returning true from startNode() or endNode(). If that happens, the function will return the next node in document order. If desired, the caller can start traversing the tree again from that point. Note that terminal nodes will always have startNode() and endNode() called before the traversal terminates.
pos | The node in the tree with which to start the walk |
parent |
The parent of pos. Note that for multiple calls that continue the traversal, this node must remain the same.
|
|
Perform a document-order traversal.
Derived classes and stop the traversal by returning true from startNode() or endNode(). If that happens, the function will return the next node in document order. If desired, the caller can start traversing the tree again from that point. Note that terminal nodes will always have startNode() and endNode() called before the traversal terminates.
pos |
The node in the tree with which to start the walk
|
|
Perform a document-order traversal.
Derived classes and stop the traversal by returning true from startNode() or endNode(). If that happens, the function will return the next node in document order. If desired, the caller can start traversing the tree again from that point. Note that terminal nodes will always have startNode() and endNode() called before the traversal terminates.
pos |
The node in the tree with which to start the walk
|
|
Perform a pre-order traversal.
pos | starting node |
|
Perform a pre-order traversal.
pos | starting node |
The documentation for this class was generated from the following file:
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
![]() |
Xalan-C++ XSLT Processor Version 1.7 |
|