xmldom::DomNodeList Class Reference

#include <DomNodeList.h>

List of all members.


Detailed Description

The DomNodeList provides the abstraction of an ordered collection of nodes.

DomNodeLists are created by DomDocument::getElementsByTagName(), DomNode::getChildNodes().

The items in the DomNodeList are accessible via an integral index, starting from 0.

DomNodeLists are "live", in that any changes to the document tree are immediately reflected in any DomNodeLists that may have been created for that tree.

See also:
More Informations About the DOM 3 standard.


Public Member Functions

 DomNodeList ()
 ctor
 DomNodeList (const DomNodeList &copy)
 copy ctor
virtual ~DomNodeList ()
 dtor
const DomNodeListoperator= (const DomNodeList &assign)
 assign
DOM Level 1
XmlSize getLength () const
 Returns the number of items in the collection.
DomNode item (XmlSize index) const
 Returns the index item in the collection.
Extensions
bool isNull () const
 Check if this is a "null" node list.


Constructor & Destructor Documentation

xmldom::DomNodeList::DomNodeList (  ) 

ctor

xmldom::DomNodeList::DomNodeList ( const DomNodeList copy  ) 

copy ctor

xmldom::DomNodeList::~DomNodeList (  )  [virtual]

dtor


Member Function Documentation

const DomNodeList & xmldom::DomNodeList::operator= ( const DomNodeList assign  ) 

assign

XmlSize xmldom::DomNodeList::getLength (  )  const

Returns the number of items in the collection.

Returns:
The number of items in the collection.

DomNode xmldom::DomNodeList::item ( XmlSize  index  )  const

Returns the index 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 DomNodeList, or null if that is not a valid index.

bool xmldom::DomNodeList::isNull (  )  const

Check if this is a "null" node list.


The documentation for this class was generated from the following files:
Generated on Fri May 30 11:15:13 2008 for XMLDOM by  doxygen 1.5.2