DOM::NodeList Class Reference
The NodeList
interface provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection is implemented.
More...
#include <dom_node.h>
Public Member Functions | |
NodeList (const NodeList &other) | |
NodeList & | operator= (const NodeList &other) |
unsigned long | length () const |
The number of nodes in the list. | |
Node | item (unsigned long index) const |
Returns the index th item in the collection. | |
NodeListImpl * | handle () const |
bool | isNull () const |
Protected Member Functions | |
NodeList (const NodeListImpl *i) | |
Protected Attributes | |
NodeListImpl * | impl |
Friends | |
class | Element |
class | Node |
class | Document |
class | HTMLDocument |
class | KJS::HTMLDocument |
Detailed Description
The NodeList
interface provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection is implemented.
The items in the NodeList
are accessible via an integral index, starting from 0.
Definition at line 895 of file dom_node.h.
Member Function Documentation
|
The number of nodes in the list.
The range of valid child node indices is 0 to Definition at line 479 of file dom_node.cpp. |
|
Returns the
If
Definition at line 473 of file dom_node.cpp. |
The documentation for this class was generated from the following files: