Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
nsIAttribute Class Reference

#include <nsIAttribute.h>

Inheritance diagram for nsIAttribute:
Inheritance graph
[legend]
Collaboration diagram for nsIAttribute:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void SetMap (nsDOMAttributeMap *aMap)=0
nsDOMAttributeMapGetMap ()
nsINodeInfoNodeInfo ()
virtual nsIContentGetContent () const =0
nsIDocumentGetOwnerDoc () const
virtual voidGetProperty (nsIAtom *aPropertyName, nsresult *aStatus=nsnull)=0
virtual nsresult SetProperty (nsIAtom *aPropertyName, void *aValue, NSPropertyDtorFunc aDtor=nsnull)=0
virtual nsresult DeleteProperty (nsIAtom *aPropertyName)=0
virtual voidUnsetProperty (nsIAtom *aPropertyName, nsresult *aStatus=nsnull)=0

Protected Member Functions

 nsIAttribute (nsDOMAttributeMap *aAttrMap, nsINodeInfo *aNodeInfo)

Protected Attributes

nsDOMAttributeMapmAttrMap
nsCOMPtr< nsINodeInfomNodeInfo

Private Member Functions

 nsIAttribute ()

Detailed Description

Definition at line 55 of file nsIAttribute.h.


Constructor & Destructor Documentation

nsIAttribute::nsIAttribute ( nsDOMAttributeMap aAttrMap,
nsINodeInfo aNodeInfo 
) [inline, protected]

Definition at line 97 of file nsIAttribute.h.

    : mAttrMap(aAttrMap), mNodeInfo(aNodeInfo)
  {
  }

Member Function Documentation

virtual nsresult nsIAttribute::DeleteProperty ( nsIAtom aPropertyName) [pure virtual]

Implemented in nsDOMAttribute.

virtual nsIContent* nsIAttribute::GetContent ( ) const [pure virtual]

Implemented in nsDOMAttribute.

Here is the caller graph for this function:

Definition at line 62 of file nsIAttribute.h.

  {
    return mAttrMap;
  }

Definition at line 74 of file nsIAttribute.h.

  {
    nsIContent* content = GetContent();
    return content ? content->GetOwnerDoc() : mNodeInfo->GetDocument();
  }

Here is the call graph for this function:

Here is the caller graph for this function:

virtual void* nsIAttribute::GetProperty ( nsIAtom aPropertyName,
nsresult aStatus = nsnull 
) [pure virtual]

Implemented in nsDOMAttribute.

Definition at line 67 of file nsIAttribute.h.

  {
    return mNodeInfo;
  }
virtual void nsIAttribute::SetMap ( nsDOMAttributeMap aMap) [pure virtual]

Implemented in nsDOMAttribute.

virtual nsresult nsIAttribute::SetProperty ( nsIAtom aPropertyName,
void aValue,
NSPropertyDtorFunc  aDtor = nsnull 
) [pure virtual]

Implemented in nsDOMAttribute.

virtual void* nsIAttribute::UnsetProperty ( nsIAtom aPropertyName,
nsresult aStatus = nsnull 
) [pure virtual]

Implemented in nsDOMAttribute.


Member Data Documentation

Definition at line 102 of file nsIAttribute.h.

Definition at line 103 of file nsIAttribute.h.


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