class LibXMLNodeList

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

acdk::xml::libxmldom::LibXMLNodeList Class Reference

#include <LibXMLNodeList.h>

Inheritance diagram for acdk::xml::libxmldom::LibXMLNodeList:

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

Public Member Functions

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

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

Private Attributes

xmlNodePtr _nodePtr

Constructor & Destructor Documentation

acdk::xml::libxmldom::LibXMLNodeList::LibXMLNodeList xmlNodePtr  np  )  [inline]

Member Function Documentation

int acdk::xml::libxmldom::LibXMLNodeList::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::LibXMLNodeList::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

xmlNodePtr acdk::xml::libxmldom::LibXMLNodeList::_nodePtr [private]