| org.xml.sax.ext.Attributes2
All known Subclasses: org.xml.sax.ext.Attributes2Impl,
Attributes2 | public interface Attributes2 extends Attributes(Code) | | SAX2 extension to augment the per-attribute information
provided though
Attributes .
If an implementation supports this extension, the attributes
provided in
org.xml.sax.ContentHandler.startElementContentHandler.startElement() will implement this interface,
and the http://xml.org/sax/features/use-attributes2
feature flag will have the value true.
This module, both source code and documentation, is in the
Public Domain, and comes with NO WARRANTY.
XMLReader implementations are not required to support this
information, and it is not part of core-only SAX2 distributions.
since: SAX 2.0 (extensions 1.1 alpha) author: David Brownell version: TBS |
Method Summary | |
public boolean | isSpecified(int index) Returns true unless the attribute value was provided
by DTD defaulting.
Parameters: index - The attribute index (zero-based). | public boolean | isSpecified(String uri, String localName) Returns true unless the attribute value was provided
by DTD defaulting.
Parameters: uri - The Namespace URI, or the empty string ifthe name has no Namespace URI. Parameters: localName - The attribute's local name. | public boolean | isSpecified(String qName) Returns true unless the attribute value was provided
by DTD defaulting.
Parameters: qName - The XML 1.0 qualified name. |
isSpecified | public boolean isSpecified(int index)(Code) | | Returns true unless the attribute value was provided
by DTD defaulting.
Parameters: index - The attribute index (zero-based). true if the value was found in the XML text,false if the value was provided by DTD defaulting. exception: java.lang.ArrayIndexOutOfBoundsException - When thesupplied index does not identify an attribute. |
isSpecified | public boolean isSpecified(String uri, String localName)(Code) | | Returns true unless the attribute value was provided
by DTD defaulting.
Parameters: uri - The Namespace URI, or the empty string ifthe name has no Namespace URI. Parameters: localName - The attribute's local name. true if the value was found in the XML text,false if the value was provided by DTD defaulting. exception: java.lang.IllegalArgumentException - When thesupplied names do not identify an attribute. |
isSpecified | public boolean isSpecified(String qName)(Code) | | Returns true unless the attribute value was provided
by DTD defaulting.
Parameters: qName - The XML 1.0 qualified name. true if the value was found in the XML text,false if the value was provided by DTD defaulting. exception: java.lang.IllegalArgumentException - When thesupplied name does not identify an attribute. |
|
|