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

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

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 nsGenericHTMLElement.

Definition at line 928 of file nsGenericHTMLElement.h.

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

Generated by  Doxygen 1.6.0   Back to index