The NodeList
interface provides the abstraction of an ordered
collection of nodes
![]() | Comparison operators.
| ||||||||
![]() | Constructors and assignment operator
| ||||||||
![]() | Destructor.
| ||||||||
![]() | Get functions.
|
TheNodeList
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.
DOM_NodeList(const DOM_NodeList &other)
DOM_NodeList& operator = (const DOM_NodeList &other)
DOM_NodeList& operator = (const DOM_NullPtr *val)
Like most other DOM types in this implementation, memory management of Node Lists is automatic. Instances of DOM_NodeList function as references to an underlying heap based implementation object, and should never be explicitly new-ed or deleted in application code, but should appear only as local variables or function parameters.
bool operator == (const DOM_NullPtr *nullPtr) const
bool operator != (const DOM_NodeList &other) const
bool operator != (const DOM_NullPtr *nullPtr) const
index
th item in the collection.
If index
is greater than or equal to the number of nodes in
the list, this returns null
.
index
th position in the
NodeList
, or null
if that is not a valid
index.
unsigned int getLength() const
length-1
inclusive.
alphabetic index hierarchy of classes
Xerces-C XML Parser for C++ Version 1.1 |
|
generated by doc++