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

virtual already_AddRefed<nsINodeInfo> nsIContent::GetExistingAttrNameFromQName ( const nsAString aStr  )  const [pure virtual]

Normalizes an attribute name and returns it as a nodeinfo if an attribute with that name exists. This method is intended for character case conversion if the content object is case insensitive (e.g. HTML). Returns the nodeinfo of the attribute with the specified name if one exists or null otherwise.

Parameters:
aStr the unparsed attribute string
Returns:
the node info. May be nsnull.

Implemented in nsGenericElement.

Referenced by nsXULContentBuilder::AddPersistentAttributes().


Generated by  Doxygen 1.6.0   Back to index