class LibXMLPathNodeList

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

acdk::xml::libxmldom::LibXMLPathNodeList Class Reference

#include <LibXMLPathNodeList.h>

Inheritance diagram for acdk::xml::libxmldom::LibXMLPathNodeList:

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

Public Member Functions

 LibXMLPathNodeList (xmlXPathObjectPtr np)
 ~LibXMLPathNodeList ()
int getLength ()
 The number of nodes in the list.

org::w3c::dom::RNode item (int index)
 Returns the indexth item in the collection.

Protected Member Functions

void _free ()

Protected Attributes

xmlXPathObjectPtr _xpathPtr

Constructor & Destructor Documentation

acdk::xml::libxmldom::LibXMLPathNodeList::LibXMLPathNodeList xmlXPathObjectPtr  np  )  [inline]

acdk::xml::libxmldom::LibXMLPathNodeList::~LibXMLPathNodeList  )  [inline]

Member Function Documentation

void acdk::xml::libxmldom::LibXMLPathNodeList::_free  )  [protected]

int acdk::xml::libxmldom::LibXMLPathNodeList::getLength  )  [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.

org::w3c::dom::RNode acdk::xml::libxmldom::LibXMLPathNodeList::item int  index  )  [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

xmlXPathObjectPtr acdk::xml::libxmldom::LibXMLPathNodeList::_xpathPtr [protected]