java.lang.Object | +--org.xml.sax.Attributes | +--org.xml.sax.ext.Attributes2All Implemented Interfaces:
boolean | isDeclared(int index) |
boolean | isDeclared(java.lang.String qName) |
boolean | isDeclared(java.lang.String uri, java.lang.String localName) |
boolean | isSpecified(int index)Returns true unless the attribute value was provided by DTD defaulting. |
boolean | isSpecified(java.lang.String uri, java.lang.String localName)Returns true unless the attribute value was provided by DTD defaulting. |
boolean | isSpecified(java.lang.String qName)Returns true unless the attribute value was provided by DTD defaulting. |
public boolean isDeclared(int index)Parameters:index - ArrayIndexOutOfBoundsException - When the supplied index does not identify an attribute.public boolean isDeclared(java.lang.String qName)Parameters:qName - IllegalArgumentException - When the supplied names do not identify an attribute.public boolean isDeclared(java.lang.String uri, java.lang.String localName)Parameters:uri - localName - IllegalArgumentException - When the supplied names do not identify an attribute.public boolean isSpecified(int index)index - The attribute index (zero-based).ArrayIndexOutOfBoundsException - When the
supplied index does not identify an attribute.public boolean isSpecified(java.lang.String qName)qName - The XML 1.0 qualified name.IllegalArgumentException - When the
supplied name does not identify an attribute.public boolean isSpecified(java.lang.String uri, java.lang.String localName)uri - The Namespace URI, or the empty string if
the name has no Namespace URI.localName - The attribute's local name.IllegalArgumentException - When the
supplied names do not identify an attribute.
XMLReader implementations are not required to support this information, and it is not part of core-only SAX2 distributions.