Xalan-C++ API Reference  1.12.0
Classes | Public Types | Public Member Functions | Protected Member Functions | List of all members
xalanc::XercesDocumentWrapper::BuildWrapperTreeWalker Class Reference

#include <xalanc/XercesParserLiaison/XercesDocumentWrapper.hpp>

Inheritance diagram for xalanc::XercesDocumentWrapper::BuildWrapperTreeWalker:
[legend]
Collaboration diagram for xalanc::XercesDocumentWrapper::BuildWrapperTreeWalker:
[legend]

Classes

struct  NavigatorStackEntryType
 

Public Types

typedef XercesDOMWalker ParentType
 
typedef XalanVector< NavigatorStackEntryTypeNavigatorStackType
 

Public Member Functions

 BuildWrapperTreeWalker (XercesDocumentWrapper *theDocument, XercesWrapperNavigator *theDocumentNavigator, IndexType theStartIndex, bool theBuildMapsFlag)
 
virtual ~BuildWrapperTreeWalker ()
 
- Public Member Functions inherited from xalanc::XercesDOMWalker
 XercesDOMWalker ()
 Constructor. More...
 
virtual ~XercesDOMWalker ()
 
const DOMNodeTypetraverse (const DOMNodeType *pos)
 Perform a document-order traversal. More...
 
DOMNodeTypetraverse (DOMNodeType *pos)
 Perform a document-order traversal. More...
 
const DOMNodeTypetraverse (const DOMNodeType *pos, const DOMNodeType *parent)
 Perform a document-order traversal stopping at the provided parent node. More...
 
DOMNodeTypetraverse (DOMNodeType *pos, DOMNodeType *parent)
 Perform a document-order traversal stopping at the provided parent node. More...
 
void traverseSubtree (const DOMNodeType *pos)
 Perform a pre-order traversal. More...
 
void traverseSubtree (DOMNodeType *pos)
 Perform a document-order traversal. More...
 

Protected Member Functions

virtual bool startNode (const DOMNodeType *node)
 Called when first walking a node. More...
 
virtual bool endNode (const DOMNodeType *node)
 Called when leaving a node. More...
 
virtual bool startNode (const DOMNodeType *node)=0
 Called when first walking a node. More...
 
virtual bool startNode (DOMNodeType *node)
 Called when first walking a node. More...
 
virtual bool endNode (const DOMNodeType *node)=0
 Called when leaving a node. More...
 
virtual bool endNode (DOMNodeType *node)
 Called when leaving a node. More...
 
- Protected Member Functions inherited from xalanc::XercesDOMWalker
virtual bool startNode (DOMNodeType *node)
 Called when first walking a node. More...
 
virtual bool endNode (DOMNodeType *node)
 Called when leaving a node. More...
 

Detailed Description

Definition at line 277 of file XercesDocumentWrapper.hpp.

Member Typedef Documentation

◆ NavigatorStackType

Definition at line 307 of file XercesDocumentWrapper.hpp.

◆ ParentType

Definition at line 281 of file XercesDocumentWrapper.hpp.

Constructor & Destructor Documentation

◆ BuildWrapperTreeWalker()

xalanc::XercesDocumentWrapper::BuildWrapperTreeWalker::BuildWrapperTreeWalker ( XercesDocumentWrapper theDocument,
XercesWrapperNavigator theDocumentNavigator,
IndexType  theStartIndex,
bool  theBuildMapsFlag 
)

◆ ~BuildWrapperTreeWalker()

virtual xalanc::XercesDocumentWrapper::BuildWrapperTreeWalker::~BuildWrapperTreeWalker ( )
virtual

Member Function Documentation

◆ endNode() [1/3]

virtual bool xalanc::XercesDocumentWrapper::BuildWrapperTreeWalker::endNode ( const DOMNodeType node)
protectedvirtual

Called when leaving a node.

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

Implements xalanc::XercesDOMWalker.

◆ endNode() [2/3]

virtual bool xalanc::XercesDOMWalker::endNode
protected

Called when leaving a node.

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

◆ endNode() [3/3]

virtual bool xalanc::XercesDOMWalker::endNode
protected

Called when leaving a node.

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

◆ startNode() [1/3]

virtual bool xalanc::XercesDocumentWrapper::BuildWrapperTreeWalker::startNode ( const DOMNodeType node)
protectedvirtual

Called when first walking a node.

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

Implements xalanc::XercesDOMWalker.

◆ startNode() [2/3]

virtual bool xalanc::XercesDOMWalker::startNode
protected

Called when first walking a node.

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

◆ startNode() [3/3]

virtual bool xalanc::XercesDOMWalker::startNode
protected

Called when first walking a node.

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

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