API Overview API Index Package Overview Direct link to this page
JDK 1.6
  org.xml.sax.ext. Attributes2Impl View Source
Author(s)
David Brownell
Since
SAX 2.0 (extensions 1.1 alpha)
Version
TBS
Serial
Hierarchy
 Object
      AttributesImpl
          Attributes2Impl
Implements
 Attributes2
Subclasses
Description
public class Attributes2Impl
  SAX2 extension helper for additional Attributes information, implementing the Attributes2 interface.
See also:   
Constructors
public Attributes2Impl ()
Construct a new, empty Attributes2Impl object.
public Attributes2Impl (Attributes atts)
  Copy an existing Attributes or Attributes2 object.
Methods
Hide/Show inherited methods
public void addAttribute (String uri, String localName, String qName, String type, String value) [Overrides AttributesImpl]
  Add an attribute to the end of the list, setting its "specified" flag to true.
public void clear () [Inherited From AttributesImpl]
  Clear the attribute list for reuse.
public int getIndex (String qName) [Inherited From AttributesImpl]
  Look up an attribute's index by qualified (prefixed) name.
public int getIndex (String uri, String localName) [Inherited From AttributesImpl]
  Look up an attribute's index by Namespace name.
public int getLength () [Inherited From AttributesImpl]
  Return the number of attributes in the list.
public String getLocalName (int index) [Inherited From AttributesImpl]
  Return an attribute's local name.
public String getQName (int index) [Inherited From AttributesImpl]
  Return an attribute's qualified (prefixed) name.
public String getType (int index) [Inherited From AttributesImpl]
  Return an attribute's type by index.
public String getType (String qName) [Inherited From AttributesImpl]
  Look up an attribute's type by qualified (prefixed) name.
public String getType (String uri, String localName) [Inherited From AttributesImpl]
  Look up an attribute's type by Namespace-qualified name.
public String getURI (int index) [Inherited From AttributesImpl]
  Return an attribute's Namespace URI.
public String getValue (int index) [Inherited From AttributesImpl]
  Return an attribute's value by index.
public String getValue (String qName) [Inherited From AttributesImpl]
  Look up an attribute's value by qualified (prefixed) name.
public String getValue (String uri, String localName) [Inherited From AttributesImpl]
  Look up an attribute's value by Namespace-qualified name.
public boolean isDeclared (int index) [Specified in Attributes2]
Returns the current value of the attribute's "declared" flag.
public boolean isDeclared (String qName) [Specified in Attributes2]
Returns the current value of the attribute's "declared" flag.
public boolean isDeclared (String uri, String localName) [Specified in Attributes2]
Returns the current value of the attribute's "declared" flag.
public boolean isSpecified (int index) [Specified in Attributes2]
  Returns the current value of an attribute's "specified" flag.
public boolean isSpecified (String qName) [Specified in Attributes2]
  Returns the current value of an attribute's "specified" flag.
public boolean isSpecified (String uri, String localName) [Specified in Attributes2]
  Returns the current value of an attribute's "specified" flag.
public void removeAttribute (int index) [Overrides AttributesImpl]
public void setAttribute (int index, String uri, String localName, String qName, String type, String value) [Inherited From AttributesImpl]
  Set an attribute in the list.
public void setAttributes (Attributes atts) [Overrides AttributesImpl]
  Copy an entire Attributes object.
public void setDeclared (int index, boolean value)
  Assign a value to the "declared" flag of a specific attribute.
public void setLocalName (int index, String localName) [Inherited From AttributesImpl]
  Set the local name of a specific attribute.
public void setQName (int index, String qName) [Inherited From AttributesImpl]
  Set the qualified name of a specific attribute.
public void setSpecified (int index, boolean value)
  Assign a value to the "specified" flag of a specific attribute.
public void setType (int index, String type) [Inherited From AttributesImpl]
  Set the type of a specific attribute.
public void setURI (int index, String uri) [Inherited From AttributesImpl]
  Set the Namespace URI of a specific attribute.
public void setValue (int index, String value) [Inherited From AttributesImpl]
  Set the value of a specific attribute.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar