Logo Search packages:      
Sourcecode: xulrunner version File versions  Download package

nsChildContentList Class Reference

#include <nsGenericElement.h>

Inheritance diagram for nsChildContentList:

nsINodeList nsWrapperCache nsIDOMNodeList nsISupports

List of all members.


Detailed Description

Class that implements the nsIDOMNodeList interface (a list of children of the content), by holding a reference to the content and delegating GetLength and Item to its existing child list.
See also:
nsIDOMNodeList

Definition at line 97 of file nsGenericElement.h.


Public Member Functions

void ClearWrapper ()
void DropReference ()
NS_DECL_ISUPPORTS virtual
NS_DECL_NSIDOMNODELIST
nsIContent
GetNodeAt (PRUint32 aIndex)
nsISupportsGetParentObject ()
JSObject * GetWrapper () const
virtual PRInt32 IndexOf (nsIContent *aContent)
nsIDOMNode item (in unsigned long index)
 nsChildContentList (nsINode *aNode)
PRBool PreservingWrapper ()
void SetPreservingWrapper (PRBool aPreserve)
void SetWrapper (JSObject *aWrapper)
Methods
 NS_IMETHOD_ (nsrefcnt) Release(void)=0
 NS_IMETHOD_ (nsrefcnt) AddRef(void)=0
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)=0

Static Public Member Functions

static nsChildContentListFromSupports (nsISupports *aSupports)

Public Attributes

readonly attribute unsigned long length

Private Attributes

nsINodemNode

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

Generated by  Doxygen 1.6.0   Back to index