#include <xalanc/TestXPath/NodeNameTreeWalker.hpp>
Definition at line 39 of file NodeNameTreeWalker.hpp.
◆ NodeVectorType
◆ NodeNameTreeWalker()
xalanc::NodeNameTreeWalker::NodeNameTreeWalker |
( |
MemoryManager & |
theManager | ) |
|
◆ ~NodeNameTreeWalker()
virtual xalanc::NodeNameTreeWalker::~NodeNameTreeWalker |
( |
| ) |
|
|
virtual |
◆ endNode() [1/2]
virtual bool xalanc::NodeNameTreeWalker::endNode |
( |
const XalanNode * |
node | ) |
|
|
protectedvirtual |
Called when leaving a node.
- Parameters
-
- Returns
- return false if the walk should continue, or true if it should not.
Implements xalanc::TreeWalker.
◆ endNode() [2/2]
virtual bool xalanc::NodeNameTreeWalker::endNode |
( |
XalanNode * |
node | ) |
|
|
protectedvirtual |
Called when leaving a node.
- Parameters
-
- Returns
- return false if the walk should continue, or true if it should not.
Implements xalanc::TreeWalker.
◆ findMatchingNodes() [1/2]
virtual void xalanc::NodeNameTreeWalker::findMatchingNodes |
( |
const XalanDOMString & |
theNodeName, |
|
|
const XalanNode * |
theStartNode |
|
) |
| |
|
virtual |
Find all nodes matching a specified node in a specified node tree.
The member m_matchingNodes is populated as a side effect.
- Parameters
-
theNodeName | name of node sought |
theStartNode | start node for search |
◆ findMatchingNodes() [2/2]
virtual void xalanc::NodeNameTreeWalker::findMatchingNodes |
( |
const XalanDOMString & |
theNodeName, |
|
|
XalanNode * |
theStartNode |
|
) |
| |
|
virtual |
◆ getMatchingNodes()
const NodeVectorType& xalanc::NodeNameTreeWalker::getMatchingNodes |
( |
| ) |
const |
|
inline |
Retrieve the matching nodes from the last search.
- Returns
- vector of nodes
Definition at line 73 of file NodeNameTreeWalker.hpp.
◆ startNode() [1/2]
virtual bool xalanc::NodeNameTreeWalker::startNode |
( |
const XalanNode * |
node | ) |
|
|
protectedvirtual |
Called when first walking a node.
- Parameters
-
- Returns
- return false if the walk should continue, or true if it should not.
Implements xalanc::TreeWalker.
◆ startNode() [2/2]
virtual bool xalanc::NodeNameTreeWalker::startNode |
( |
XalanNode * |
node | ) |
|
|
protectedvirtual |
Called when first walking a node.
- Parameters
-
- Returns
- return false if the walk should continue, or true if it should not.
Implements xalanc::TreeWalker.
The documentation for this class was generated from the following file: