Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Member Functions | List of all members
XercesNodeListWrapper Class Reference

#include <XercesNodeListWrapper.hpp>

Inherits XalanNodeList.

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. More...
 
virtual XalanSize_t getLength () const
 Returns the number of nodes in the list. More...
 
- Public Member Functions inherited from XalanNodeList
 XalanNodeList ()
 
virtual ~XalanNodeList ()
 

Additional Inherited Members

- Protected Member Functions inherited from XalanNodeList
 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]

XercesNodeListWrapper::XercesNodeListWrapper ( const DOMNodeListType theXercesNodeList,
const XercesWrapperNavigator theNavigator 
)

◆ XercesNodeListWrapper() [2/2]

XercesNodeListWrapper::XercesNodeListWrapper ( const XercesNodeListWrapper theSource)

◆ ~XercesNodeListWrapper()

virtual XercesNodeListWrapper::~XercesNodeListWrapper ( )
virtual

Member Function Documentation

◆ getLength()

virtual XalanSize_t 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 XalanNodeList.

◆ item()

virtual XalanNode* 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 XalanNodeList.

◆ operator==()

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

Definition at line 57 of file XercesNodeListWrapper.hpp.


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

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.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.

Apache Logo