Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Member Functions | Public Attributes | List of all members
XNodeSetNodeProxy::Proxy Class Reference

#include <XNodeSetNodeProxy.hpp>

Inherits NodeRefListBase.

Public Member Functions

 Proxy (XalanNode *theNode)
 
virtual ~Proxy ()
 
virtual XalanNodeitem (size_type index) const
 Returns the indexth item in the collection. More...
 
virtual size_type getLength () const
 Determine the number of nodes in the list. More...
 
virtual size_type indexOf (const XalanNode *theNode) const
 Retrieve the zero based index of the node in the list. More...
 
- Public Member Functions inherited from NodeRefListBase
 NodeRefListBase ()
 
virtual ~NodeRefListBase ()
 

Public Attributes

XalanNodem_node
 

Additional Inherited Members

- Public Types inherited from NodeRefListBase
typedef XalanSize_t size_type
 
- Static Public Attributes inherited from NodeRefListBase
static const size_type npos
 
- Protected Member Functions inherited from NodeRefListBase
 NodeRefListBase (const NodeRefListBase &)
 
NodeRefListBaseoperator= (const NodeRefListBase &)
 

Detailed Description

Definition at line 75 of file XNodeSetNodeProxy.hpp.

Constructor & Destructor Documentation

◆ Proxy()

XNodeSetNodeProxy::Proxy::Proxy ( XalanNode theNode)

◆ ~Proxy()

virtual XNodeSetNodeProxy::Proxy::~Proxy ( )
virtual

Member Function Documentation

◆ getLength()

virtual size_type XNodeSetNodeProxy::Proxy::getLength ( ) const
virtual

Determine the number of nodes in the list.

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

Returns
number of nodes

Implements NodeRefListBase.

◆ indexOf()

virtual size_type XNodeSetNodeProxy::Proxy::indexOf ( const XalanNode theNode) const
virtual

Retrieve the zero based index of the node in the list.

Parameters
theNodenode whose index to find
Returns
index of node

Implements NodeRefListBase.

◆ item()

virtual XalanNode* XNodeSetNodeProxy::Proxy::item ( size_type  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
node at the indexth position in the NodeList, or null if that is not a valid index

Implements NodeRefListBase.

Member Data Documentation

◆ m_node

XalanNode* XNodeSetNodeProxy::Proxy::m_node

Definition at line 93 of file XNodeSetNodeProxy.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