Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.4

Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

NodeListImplSurrogate Class Reference

#include <NodeListImplSurrogate.hpp>

Inheritance diagram for NodeListImplSurrogate:

XalanNodeList Collaboration diagram for NodeListImplSurrogate:

List of all members.

Public Methods


Detailed Description


Constructor & Destructor Documentation

NodeListImplSurrogate::NodeListImplSurrogate ( NodeRefListBase & theNodeRefList)

Construct a surrogate object from a node list.

Parameters:
theNodeRefList   source node list

virtual NodeListImplSurrogate::~NodeListImplSurrogate () [virtual]


Member Function Documentation

virtual unsigned int NodeListImplSurrogate::getLength () const [virtual]

Returns the number of nodes in the list.

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

Reimplemented from XalanNodeList.

virtual XalanNode* NodeListImplSurrogate::item ( unsigned int 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:
index   Index into the collection.
Returns:
The node at the indexth position in the NodeList, or null if that is not a valid index.

Reimplemented from XalanNodeList.


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.4
Copyright © 2000, 2001, 2002 The Apache Software Foundation. All Rights Reserved.