Xalan-C++ API Reference 1.12.0
xalanc::XercesNodeListWrapper Class Reference

#include <xalanc/XercesParserLiaison/XercesNodeListWrapper.hpp>

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

Public Member Functions

 XercesNodeListWrapper (const DOMNodeListType *theXercesNodeList, const XercesWrapperNavigator &theNavigator)
 XercesNodeListWrapper (const XercesNodeListWrapper &theSource)
virtual ~XercesNodeListWrapper ()
bool operator== (const XercesNodeListWrapper &theRHS) const
virtual XalanNodeitem (XalanSize_t index) const
 Returns the indexth item in the collection.
virtual XalanSize_t getLength () const
 Returns the number of nodes in the list.
Public Member Functions inherited from xalanc::XalanNodeList
 XalanNodeList ()
virtual ~XalanNodeList ()

Additional Inherited Members

 XalanNodeList (const XalanNodeList &theSource)
XalanNodeListoperator= (const XalanNodeList &theSource)
bool operator== (const XalanNodeList &theRHS) const

Detailed Description

Definition at line 43 of file XercesNodeListWrapper.hpp.

Constructor & Destructor Documentation

◆ XercesNodeListWrapper() [1/2]

xalanc::XercesNodeListWrapper::XercesNodeListWrapper ( const DOMNodeListType * theXercesNodeList,
const XercesWrapperNavigator & theNavigator )

◆ XercesNodeListWrapper() [2/2]

xalanc::XercesNodeListWrapper::XercesNodeListWrapper ( const XercesNodeListWrapper & theSource)

◆ ~XercesNodeListWrapper()

virtual xalanc::XercesNodeListWrapper::~XercesNodeListWrapper ( )
virtual

Member Function Documentation

◆ getLength()

virtual XalanSize_t xalanc::XercesNodeListWrapper::getLength ( ) const
virtual

Returns the number of nodes in the list.

The range of valid child node indices is 0 to length-1 inclusive.

Implements xalanc::XalanNodeList.

References XercesNodeListWrapper().

◆ item()

virtual XalanNode * xalanc::XercesNodeListWrapper::item ( XalanSize_t index) const
virtual

Returns the indexth item in the collection.

If index is greater than or equal to the number of nodes in the list, this returns null.

Parameters
indexIndex into the collection.
Returns
The node at the indexth position in the NodeList, or null if that is not a valid index.

Implements xalanc::XalanNodeList.

◆ operator==()

bool xalanc::XercesNodeListWrapper::operator== ( const XercesNodeListWrapper & theRHS) const
inline

Definition at line 57 of file XercesNodeListWrapper.hpp.

References XercesNodeListWrapper().


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