Local implementation of NodeRefList. More...
Public Types | |
typedef unsigned int | size_type |
Public Member Functions | |
NodeRefListBase () | |
virtual | ~NodeRefListBase () |
virtual XalanNode * | item (size_type index) const =0 |
Returns the index th item in the collection. | |
virtual size_type | getLength () const =0 |
Determine the number of nodes in the list. | |
virtual size_type | indexOf (const XalanNode *theNode) const =0 |
Retrieve the zero based index of the node in the list. |
Static Public Attributes | |
static const size_type | npos |
Protected Member Functions | |
NodeRefListBase (const NodeRefListBase &) | |
NodeRefListBase & | operator= (const NodeRefListBase &) |
Local implementation of NodeRefList.
This class is for internal use only.
typedef unsigned int NodeRefListBase::size_type |
NodeRefListBase::NodeRefListBase | ( | ) |
|
virtual |
|
protected |
|
pure virtual |
Determine the number of nodes in the list.
The range of valid child node indices is 0 to length-1
inclusive.
Implemented in NodeRefList, XNodeSetNodeProxy::Proxy, and XalanDocumentFragmentNodeRefListBaseProxy.
Retrieve the zero based index of the node in the list.
theNode | node whose index to find |
Implemented in NodeRefList, XNodeSetNodeProxy::Proxy, and XalanDocumentFragmentNodeRefListBaseProxy.
Returns the index
th item in the collection.
If index
is greater than or equal to the number of nodes in the list, this returns null
.
index | index into the collection |
index
th position in the NodeList
, or null
if that is not a valid index Implemented in NodeRefList, XNodeSetNodeProxy::Proxy, and XalanDocumentFragmentNodeRefListBaseProxy.
|
protected |
Reimplemented in MutableNodeRefList, and NodeRefList.
|
static |
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
![]() |
Xalan-C++ XSLT Processor Version 1.10 |
|