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

virtual PRBool nsGenericElement::GetAttr ( PRInt32  aNameSpaceID,
nsIAtom *  aName,
nsAString aResult 
) const [virtual, inherited]

Get the current value of the attribute. This returns a form that is suitable for passing back into SetAttr.

aNameSpaceID the namespace of the attr
aName the name of the attr
aResult the value (may legitimately be the empty string) [OUT]
PR_TRUE if the attribute was set (even when set to empty string) PR_FALSE when not set.

Implements nsIContent.

Referenced by nsGenericElement::GetBaseURI(), nsFormSubmission::GetSubmitCharset(), and SubmitNamesValues().

Generated by  Doxygen 1.6.0   Back to index