API Overview API Index Package Overview Direct link to this page
JDK 1.6
  org.xml.sax.helpers. AttributesImpl View Source
Author(s)
David Megginson
Since
SAX 2.0
Version
2.0.1 (sax2r2)
Serial
Hierarchy
 Object
      AttributesImpl
Implements
 Attributes
Subclasses
Description
public class AttributesImpl
  Default implementation of the Attributes interface.
See also:   
Constructors
public AttributesImpl ()
Construct a new, empty AttributesImpl object.
public AttributesImpl (Attributes atts)
  Copy an existing Attributes object.
Methods
Hide/Show inherited methods
public void addAttribute (String uri, String localName, String qName, String type, String value)
  Add an attribute to the end of the list.
public void clear ()
  Clear the attribute list for reuse.
public int getIndex (String qName) [Specified in Attributes]
  Look up an attribute's index by qualified (prefixed) name.
public int getIndex (String uri, String localName) [Specified in Attributes]
  Look up an attribute's index by Namespace name.
public int getLength () [Specified in Attributes]
  Return the number of attributes in the list.
public String getLocalName (int index) [Specified in Attributes]
  Return an attribute's local name.
public String getQName (int index) [Specified in Attributes]
  Return an attribute's qualified (prefixed) name.
public String getType (int index) [Specified in Attributes]
  Return an attribute's type by index.
public String getType (String qName) [Specified in Attributes]
  Look up an attribute's type by qualified (prefixed) name.
public String getType (String uri, String localName) [Specified in Attributes]
  Look up an attribute's type by Namespace-qualified name.
public String getURI (int index) [Specified in Attributes]
  Return an attribute's Namespace URI.
public String getValue (int index) [Specified in Attributes]
  Return an attribute's value by index.
public String getValue (String qName) [Specified in Attributes]
  Look up an attribute's value by qualified (prefixed) name.
public String getValue (String uri, String localName) [Specified in Attributes]
  Look up an attribute's value by Namespace-qualified name.
public void removeAttribute (int index)
  Remove an attribute from the list.
public void setAttribute (int index, String uri, String localName, String qName, String type, String value)
  Set an attribute in the list.
public void setAttributes (Attributes atts)
  Copy an entire Attributes object.
public void setLocalName (int index, String localName)
  Set the local name of a specific attribute.
public void setQName (int index, String qName)
  Set the qualified name of a specific attribute.
public void setType (int index, String type)
  Set the type of a specific attribute.
public void setURI (int index, String uri)
  Set the Namespace URI of a specific attribute.
public void setValue (int index, String value)
  Set the value of a specific attribute.
Fields
Hide/Show inherited fields
pack-private String data
pack-private int length
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar