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

virtual PRBool nsGenericElement::ParseAttribute ( PRInt32  aNamespaceID,
nsIAtom *  aAttribute,
const nsAString aValue,
nsAttrValue &  aResult 
) [protected, virtual]

Convert an attribute string value to attribute type based on the type of attribute. Called by SetAttr(). Note that at the moment we only do this for attributes in the null namespace (kNameSpaceID_None).

aNamespaceID the namespace of the attribute to convert
aAttribute the attribute to convert
aValue the string value to convert
aResult the nsAttrValue [OUT]
PR_TRUE if the parsing was successful, PR_FALSE otherwise

Reimplemented in nsGenericHTMLElement, and nsHTMLSelectElement.

Generated by  Doxygen 1.6.0   Back to index