java.lang.Object | +--org.xml.sax.helpers.AttributesImpl | +--org.xml.sax.ext.Attributes2ImplAll Implemented Interfaces:
Construct a new, empty Attributes2Impl object. |
Attributes2Impl(Attributes atts) Copy an existing Attributes or Attributes2 object. |
void | addAttribute(java.lang.String uri, java.lang.String localName, java.lang.String qName, java.lang.String type, java.lang.String value) Add an attribute to the end of the list, setting its "specified" flag to true. |
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 the current value of an attribute's "specified" flag. |
boolean | isSpecified(java.lang.String uri, java.lang.String localName) Returns the current value of an attribute's "specified" flag. |
boolean | isSpecified(java.lang.String qName) Returns the current value of an attribute's "specified" flag. |
void | removeAttribute(int index) |
void | setAttributes(Attributes atts) Copy an entire Attributes object. |
void | setDeclared(int index, boolean value) Assign a value to the "declared" flag of a specific attribute. |
void | setSpecified(int index, boolean value) Assign a value to the "specified" flag of a specific attribute. |
public Attributes2Impl()
public Attributes2Impl(Attributes atts)
public void addAttribute(java.lang.String uri, java.lang.String localName, java.lang.String qName, java.lang.String type, java.lang.String value)
AttributesImpl.addAttribute
public boolean isDeclared(int index)
java.lang.ArrayIndexOutOfBoundsException
- When the supplied index does not identify an attribute.public boolean isDeclared(java.lang.String uri, java.lang.String localName)
java.lang.IllegalArgumentException
- When the supplied names do not identify an attribute.public boolean isDeclared(java.lang.String qName)
java.lang.IllegalArgumentException
- When the supplied names do not identify an attribute.public boolean isSpecified(int index)
java.lang.ArrayIndexOutOfBoundsException
- When the
supplied index does not identify an attribute.public boolean isSpecified(java.lang.String uri, java.lang.String localName)
java.lang.IllegalArgumentException
- When the
supplied names do not identify an attribute.public boolean isSpecified(java.lang.String qName)
java.lang.IllegalArgumentException
- When the
supplied name does not identify an attribute.public void removeAttribute(int index)
public void setAttributes(Attributes atts)
AttributesImpl.setAttributes
public void setDeclared(int index, boolean value)
java.lang.ArrayIndexOutOfBoundsException
- When the supplied index does not identify an attribute.public void setSpecified(int index, boolean value)
java.lang.ArrayIndexOutOfBoundsException
- When the
supplied index does not identify an attribute.