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

nsresult nsGenericHTMLElement::SetAttr ( PRInt32  aNameSpaceID,
nsIAtom *  aName,
const nsAString aValue,
PRBool  aNotify 
) [inline, inherited]

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
aValue the value to set
aNotify specifies how whether or not the document should be notified of the attribute change.

Reimplemented from nsGenericElement.

Reimplemented in nsGenericHTMLFrameElement.

Definition at line 203 of file nsGenericHTMLElement.h.

Referenced by nsHTMLOptionElement::Initialize().

    return SetAttr(aNameSpaceID, aName, nsnull, aValue, aNotify);

Generated by  Doxygen 1.6.0   Back to index