class NodeList

The NodeList interface provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection is implemented. More...

Full nameDOM::NodeList
Definition#include <dom_node.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Methods

Protected Members


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.

 NodeList ()

NodeList

 NodeList (const NodeList &other)

NodeList

NodeList &  operator = (const NodeList &other)

operator =

 ~NodeList ()

~NodeList

unsigned long  length ()

length

[const]

The number of nodes in the list. The range of valid child node indices is 0 to length-1 inclusive.

Node  item ( unsigned long index )

item

[const]

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:
indexIndex into the collection.

Returns: The node at the index th position in the NodeList , or null if that is not a valid index.

NodeListImpl * handle ()

handle

[const]

not part of the DOM

bool  isNull ()

isNull

[const]

 NodeList (const NodeListImpl *i)

NodeList

[protected]

NodeListImpl * impl

impl

[protected]


Generated by: dfaure on faure on Tue Apr 16 08:50:42 2002, using kdoc 2.0a53.