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

virtual const nsAttrName* nsIContent::GetAttrNameAt ( PRUint32  aIndex  )  const [pure virtual]

Get the namespace / name / prefix of a given attribute.

Parameters:
aIndex the index of the attribute name
Returns:
The name at the given index, or null if the index is out-of-bounds.
Note:
The document returned by NodeInfo()->GetDocument() (if one is present) is *not* neccesarily the owner document of the element.

The pointer returned by this function is only valid until the next call of either GetAttrNameAt or SetAttr on the element.

Implemented in nsGenericElement.

Referenced by nsXULTemplateBuilder::AddSimpleRuleBindings(), nsNode3Tearoff::AreNodesEqual(), nsXULTemplateQueryProcessorRDF::CompileSimpleQuery(), and nsXULContentBuilder::CopyAttributesToElement().


Generated by  Doxygen 1.6.0   Back to index