Xalan-C++ API Documentation

The Xalan C++ XSL Transformer Version 1.1

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

NodeListImplSurrogate Class Reference

#include <NodeListImplSurrogate.hpp>

Inheritance diagram for NodeListImplSurrogate

Inheritance graph

[legend]
Collaboration diagram for NodeListImplSurrogate:

Collaboration graph

[legend]
List of all members.

Public Methods


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++ XSL Transformer Version 1.1
Copyright © 2000, 2001 The Apache Software Foundation. All Rights Reserved.