|
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
IDOM_NodeList Class ReferenceThe NodeList interface provides the abstraction of an ordered collection of nodes.
More...
#include <IDOM_NodeList.hpp>
List of all members.
Detailed Description
The NodeList interface provides the abstraction of an ordered collection of nodes.
NodeLists are created by DOM_Document::getElementsByTagName(), DOM_Node::getChildNodes(),
The items in the NodeList are accessible via an integral index, starting from 0.
NodeLists are "live", in that any changes to the document tree are immediately reflected in any NodeLists that may have been created for that tree.
Constructor & Destructor Documentation
IDOM_NodeList::IDOM_NodeList (
|
) [protected]
|
|
IDOM_NodeList::IDOM_NodeList (
|
const IDOM_NodeList & other ) [protected]
|
|
IDOM_NodeList::~IDOM_NodeList (
|
) [virtual]
|
|
Member Function Documentation
unsigned int IDOM_NodeList::getLength (
|
) [pure virtual]
|
|
|
Returns the number of nodes in the list.
The range of valid child node indices is 0 to length-1 inclusive. |
IDOM_Node * IDOM_NodeList::item (
|
unsigned int index ) [pure virtual]
|
|
|
Returns the index th 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
index th position in the NodeList , or null if that is not a valid index. |
IDOM_NodeList & IDOM_NodeList::operator= (
|
const IDOM_NodeList & other ) [protected]
|
|
The documentation for this class was generated from the following file:
|