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.
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.
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.
length-1
inclusive.
alphabetic index hierarchy of classes
XML Parser for C++ 2.0 Copyright © IBM Corp, 1999 Center for Java Technology 10275 N. De Anza Blvd. Cupertino CA 95014 USA Email: xml4c@us.ibm.com |
|