Adds an attribute. The attribute's non-normalized value of the attribute will have the same value as the attribute value until set using the
setNonNormalizedValue
method. Also, the added attribute will be marked as specified in the XML instance document unless set otherwise using the
setSpecified
method.
This method differs from addAttribute
in that it does not check if an attribute of the same name already exists in the list before adding it. In order to improve performance of namespace processing, this method allows uniqueness checks to be deferred until all the namespace information is available after the entire attribute specification has been read.
Caution: If this method is called it should not be mixed with calls to addAttribute
unless it has been determined that all the attribute names are unique.
@param name the attribute name
@param type the attribute type
@param value the attribute value
@see #setNonNormalizedValue
@see #setSpecified
@see #checkDuplicatesNS