Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsGenericDOMNodeList Class Reference

This is a base class for a generic DOM Node List. More...

#include <nsGenericDOMNodeList.h>

Inheritance diagram for nsGenericDOMNodeList:
Inheritance graph
Collaboration diagram for nsGenericDOMNodeList:
Collaboration graph

List of all members.

Public Member Functions

 nsGenericDOMNodeList ()
virtual ~nsGenericDOMNodeList ()
NS_DECL_ISUPPORTS NS_IMETHOD GetLength (PRUint32 *aLength)=0
NS_IMETHOD Item (PRUint32 aIndex, nsIDOMNode **aReturn)=0
nsIDOMNode item (in unsigned long index)

Public Attributes

readonly attribute unsigned long length

Detailed Description

This is a base class for a generic DOM Node List.

The base class provides implementations for nsISupports, it is up to the subclass to implement the core node list methods:

GetLength Item

Definition at line 52 of file nsGenericDOMNodeList.h.

Constructor & Destructor Documentation

Definition at line 41 of file nsGenericDOMNodeList.cpp.


Definition at line 45 of file nsGenericDOMNodeList.cpp.


Member Function Documentation

nsIDOMNode nsIDOMNodeList::item ( in unsigned long  index) [inherited]

Here is the caller graph for this function:

NS_IMETHOD nsGenericDOMNodeList::Item ( PRUint32  aIndex,
nsIDOMNode **  aReturn 
) [pure virtual]

Member Data Documentation

readonly attribute unsigned long nsIDOMNodeList::length [inherited]

Definition at line 58 of file nsIDOMNodeList.idl.

The documentation for this class was generated from the following files: