13.12.5 AttributesImpl Objects

AttributesImpl objects implement a portion of the mapping protocol, and the methods copy(), get(), has_key(), items(), keys(), and values(). The following methods are also provided:

getLength()
Return the number of attributes.

getNames()
Return the names of the attributes.

getType(name)
Returns the type of the attribute name, which is normally 'CDATA'.

getValue(name)
Return the value of attribute name.

See About this document... for information on suggesting changes.