Xalan-C++ API Reference  1.12.0
Public Member Functions | Protected Member Functions | List of all members
xalanc::FormatterTreeWalker Class Reference

#include <xalanc/XMLSupport/FormatterTreeWalker.hpp>

Inheritance diagram for xalanc::FormatterTreeWalker:
[legend]
Collaboration diagram for xalanc::FormatterTreeWalker:
[legend]

Public Member Functions

 FormatterTreeWalker (FormatterListener &formatterListener, MemoryManager &theManager XALAN_DEFAULT_MEMMGR)
 Construct a FormatterTreeWalker instance. More...
 
virtual ~FormatterTreeWalker ()
 
- Public Member Functions inherited from xalanc::TreeWalker
 TreeWalker ()
 Constructor. More...
 
virtual ~TreeWalker ()
 
const XalanNodetraverse (const XalanNode *pos)
 Perform a document-order traversal. More...
 
XalanNodetraverse (XalanNode *pos)
 Perform a document-order traversal. More...
 
const XalanNodetraverse (const XalanNode *pos, const XalanNode *parent)
 Perform a document-order traversal stopping at the provided parent node. More...
 
XalanNodetraverse (XalanNode *pos, XalanNode *parent)
 Perform a document-order traversal stopping at the provided parent node. More...
 
virtual void traverseSubtree (const XalanNode *pos)
 Perform a pre-order traversal. More...
 
virtual void traverseSubtree (XalanNode *pos)
 Perform a pre-order traversal. More...
 

Protected Member Functions

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

Detailed Description

Definition at line 40 of file FormatterTreeWalker.hpp.

Constructor & Destructor Documentation

◆ FormatterTreeWalker()

xalanc::FormatterTreeWalker::FormatterTreeWalker ( FormatterListener formatterListener,
MemoryManager &theManager  XALAN_DEFAULT_MEMMGR 
)

Construct a FormatterTreeWalker instance.

Parameters
formatterListenerimplemention of the FormatterListener operation (toXMLString, digest, ...)

◆ ~FormatterTreeWalker()

virtual xalanc::FormatterTreeWalker::~FormatterTreeWalker ( )
virtual

Member Function Documentation

◆ endNode() [1/2]

virtual bool xalanc::FormatterTreeWalker::endNode ( const XalanNode node)
protectedvirtual

Called when leaving a node.

Parameters
nodeThe node
Returns
return false if the walk should continue, or true if it should not.

Implements xalanc::TreeWalker.

◆ endNode() [2/2]

virtual bool xalanc::FormatterTreeWalker::endNode ( XalanNode node)
protectedvirtual

Called when leaving a node.

Parameters
nodeThe node
Returns
return false if the walk should continue, or true if it should not.

Implements xalanc::TreeWalker.

◆ startNode() [1/2]

virtual bool xalanc::FormatterTreeWalker::startNode ( const XalanNode node)
protectedvirtual

Called when first walking a node.

Parameters
nodeThe node
Returns
return false if the walk should continue, or true if it should not.

Implements xalanc::TreeWalker.

◆ startNode() [2/2]

virtual bool xalanc::FormatterTreeWalker::startNode ( XalanNode node)
protectedvirtual

Called when first walking a node.

Parameters
nodeThe node
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: