class XPathResultNodeList

Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

org::w3c::dom::xpath::XPathResultNodeList Class Reference

#include <XPathResult.h>

Inheritance diagram for org::w3c::dom::xpath::XPathResultNodeList:

acdk::lang::Object org::w3c::dom::NodeList acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

Helper class to wrapp a XPathResult with a NodeList.

Public Member Functions

 XPathResultNodeList (IN(RXPathResult) result)
virtual RNode item (int index)
 Returns the indexth item in the collection.

virtual int getLength ()
 The number of nodes in the list.

Protected Attributes

RXPathResult _result

Constructor & Destructor Documentation

org::w3c::dom::xpath::XPathResultNodeList::XPathResultNodeList IN(RXPathResult result  )  [inline]

Member Function Documentation

virtual int org::w3c::dom::xpath::XPathResultNodeList::getLength  )  [inline, virtual]

The number of nodes in the list.

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

Implements org::w3c::dom::NodeList.

virtual RNode org::w3c::dom::xpath::XPathResultNodeList::item int  index  )  [inline, 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.

index Index into the collection.
The node at the indexth position in the NodeList, or null if that is not a valid index.

Implements org::w3c::dom::NodeList.

Member Data Documentation

RXPathResult org::w3c::dom::xpath::XPathResultNodeList::_result [protected]