API Overview API Index Package Overview Direct link to this page
JDK 1.6
  org.xml.sax.helpers. AttributeListImpl View Source
Author(s)
David Megginson
Since
SAX 1.0
Version
2.0.1 (sax2r2)
Serial
Hierarchy
 Object
      AttributeListImpl
Implements
 AttributeList
Subclasses
Description
public class AttributeListImpl
  Default implementation for AttributeList.
Constructors
public AttributeListImpl ()
  Create an empty attribute list.
public AttributeListImpl (AttributeList atts)
  Construct a persistent copy of an existing attribute list.
Methods
Hide/Show inherited methods
public void addAttribute (String name, String type, String value)
  Add an attribute to an attribute list.
public void clear ()
  Clear the attribute list.
public int getLength () [Specified in AttributeList]
  Return the number of attributes in the list.
public String getName (int i) [Specified in AttributeList]
  Get the name of an attribute (by position).
public String getType (int i) [Specified in AttributeList]
  Get the type of an attribute (by position).
public String getType (String name) [Specified in AttributeList]
  Get the type of an attribute (by name).
public String getValue (int i) [Specified in AttributeList]
  Get the value of an attribute (by position).
public String getValue (String name) [Specified in AttributeList]
  Get the value of an attribute (by name).
public void removeAttribute (String name)
  Remove an attribute from the list.
public void setAttributeList (AttributeList atts)
  Set the attribute list, discarding previous contents.
Fields
Hide/Show inherited fields
pack-private Vector names
pack-private Vector types
pack-private Vector values
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar