.TH "DOM::NodeList" kde3 "11 Jun 2005" "Version Version 3.4.1" "khtml Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
DOM::NodeList \- The \fC\fBNodeList\fP\fP interface provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection is implemented.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <dom_node.h>\fP
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBNodeList\fP (const \fBNodeList\fP &other)"
.br
.ti -1c
.RI "\fBNodeList\fP & \fBoperator=\fP (const \fBNodeList\fP &other)"
.br
.ti -1c
.RI "unsigned long \fBlength\fP () const "
.br
.ti -1c
.RI "\fBNode\fP \fBitem\fP (unsigned long index) const "
.br
.ti -1c
.RI "NodeListImpl * \fBhandle\fP () const "
.br
.ti -1c
.RI "bool \fBisNull\fP () const "
.br
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "\fBNodeList\fP (const NodeListImpl *i)"
.br
.in -1c
.SS "Protected Attributes"

.in +1c
.ti -1c
.RI "NodeListImpl * \fBimpl\fP"
.br
.in -1c
.SS "Friends"

.in +1c
.ti -1c
.RI "class \fBElement\fP"
.br
.ti -1c
.RI "class \fBNode\fP"
.br
.ti -1c
.RI "class \fBDocument\fP"
.br
.ti -1c
.RI "class \fBHTMLDocument\fP"
.br
.ti -1c
.RI "class \fBKJS::HTMLDocument\fP"
.br
.ti -1c
.RI "class \fBKJS::Window\fP"
.br
.in -1c
.SH "Detailed Description"
.PP 
The \fC\fBNodeList\fP\fP interface provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection is implemented. 

The items in the \fC\fBNodeList\fP\fP are accessible via an integral index, starting from 0. 
.PP
Definition at line 897 of file dom_node.h.
.SH "Member Function Documentation"
.PP 
.SS "unsigned long NodeList::length () const"
.PP
The number of nodes in the list. 
.PP
The range of valid child node indices is 0 to \fClength-1\fP inclusive. 
.PP
Definition at line 473 of file dom_node.cpp.
.SS "\fBNode\fP NodeList::item (unsigned long index) const"
.PP
Returns the \fCindex\fP th item in the collection. 
.PP
If \fCindex\fP is greater than or equal to the number of nodes in the list, this returns \fCnull\fP .
.PP
\fBParameters:\fP
.RS 4
\fIindex\fP Index into the collection.
.RE
.PP
\fBReturns:\fP
.RS 4
The node at the \fCindex\fP th position in the \fC\fBNodeList\fP\fP , or \fCnull\fP if that is not a valid index. 
.RE
.PP

.PP
Definition at line 467 of file dom_node.cpp.

.SH "Author"
.PP 
Generated automatically by Doxygen for khtml Library from the source code.
