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

virtual nsresult nsIContent::SetAttr ( PRInt32  aNameSpaceID,
nsIAtom *  aName,
nsIAtom *  aPrefix,
const nsAString aValue,
PRBool  aNotify 
) [pure virtual]

Set attribute values. All attribute values are assumed to have a canonical String representation that can be used for these methods. The SetAttr method is assumed to perform a translation of the canonical form into the underlying content specific form.

aNameSpaceID the namespace of the attribute
aName the name of the attribute
aPrefix the prefix of the attribute
aValue the value to set
aNotify specifies how whether or not the document should be notified of the attribute change.

Implemented in nsGenericElement, nsGenericHTMLElement, and nsGenericHTMLFrameElement.

Generated by  Doxygen 1.6.0   Back to index