class NodeList

The <code> NodeList </code> 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 <code> NodeList </code> interface provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection is implemented.

The items in the <code> NodeList </code> 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 <code> length-1 </code> inclusive.

Node  item ( unsigned long index )

item

[const]

Returns the <code> index </code> th item in the collection. If <code> index </code> is greater than or equal to the number of nodes in the list, this returns <code> null </code> .

Parameters:
indexIndex into the collection.

Returns: The node at the <code> index </code> th position in the <code> NodeList </code> , or <code> null </code> 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: root@daffy.perf.redhat.com on Mon Jul 14 13:28:10 2003, using kdoc 2.0a53.