## Xalan-C++ API Documentation

### The Xalan C++ XSLT Processor Version 1.10

Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members

# NodeNameTreeWalker Class Reference

`#include <NodeNameTreeWalker.hpp>`

Inheritance diagram for NodeNameTreeWalker:

[legend]
Collaboration diagram for NodeNameTreeWalker:

[legend]
List of all members.

## Public Types

- typedef XalanVector<const
  XalanNode*> NodeVectorType

## Public Methods

- NodeNameTreeWalker (MemoryManagerType &theManager)
- virtual ~NodeNameTreeWalker ()
- virtual void findMatchingNodes (const XalanDOMString &theNodeName, const XalanNode *theStartNode)
    Find all nodes matching a specified node in a specified node tree. More...
- virtual void findMatchingNodes (const XalanDOMString &theNodeName, XalanNode *theStartNode)
- const NodeVectorType& getMatchingNodes () const
    Retrieve the matching nodes from the last search. More...

## Protected Methods

- virtual bool startNode (XalanNode *node)
    Called when first walking a node. More...
- virtual bool endNode (XalanNode *node)
    Called when leaving a node. More...
- virtual bool startNode (const XalanNode *node)
    Called when first walking a node. More...
- virtual bool endNode (const XalanNode *node)
    Called when leaving a node. More...

## Member Typedef Documentation

typedef XalanVector< const XalanNode *> NodeNameTreeWalker::NodeVectorType<const XalanNode*>

## Constructor & Destructor Documentation

NodeNameTreeWalker::NodeNameTreeWalker ( | MemoryManagerType & theManager )

NodeNameTreeWalker::~NodeNameTreeWalker ( | )`[virtual]`

## Member Function Documentation

bool NodeNameTreeWalker::endNode ( | const XalanNode * node )`[protected, virtual]`

Called when leaving a node.

Parameters:

  node | The node

Returns:
  return false if the walk should continue, or true if it should not.

Reimplemented from TreeWalker.

bool NodeNameTreeWalker::endNode ( | XalanNode * node )`[protected, virtual]`

Called when leaving a node.

Parameters:

  node | The node

Returns:
  return false if the walk should continue, or true if it should not.

Reimplemented from TreeWalker.

void NodeNameTreeWalker::findMatchingNodes ( | const XalanDOMString & theNodeName,
| XalanNode * theStartNode )`[virtual]`

void 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

const NodeVectorType & NodeNameTreeWalker::getMatchingNodes ( | ) const

Retrieve the matching nodes from the last search.

Returns:
  vector of nodes

bool NodeNameTreeWalker::startNode ( | const XalanNode * node )`[protected, virtual]`

Called when first walking a node.

Parameters:

  node | The node

Returns:
  return false if the walk should continue, or true if it should not.

Reimplemented from TreeWalker.

bool NodeNameTreeWalker::startNode ( | XalanNode * node )`[protected, virtual]`

Called when first walking a node.

Parameters:

  node | The node

Returns:
  return false if the walk should continue, or true if it should not.

Reimplemented from TreeWalker.

The documentation for this class was generated from the following file:

- NodeNameTreeWalker.hpp

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

Xalan-C++ XSLT Processor Version 1.10 Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.