Save This Page
Home » Xerces-J-src.2.9.1 » sax » helpers » [javadoc | source]
sax.helpers
public class: AttributesImpl [javadoc | source]
java.lang.Object
   sax.helpers.AttributesImpl

All Implemented Interfaces:
    Attributes

An Attributes implementation that can perform more operations than the attribute list helper supplied with the standard SAX2 distribution.
Nested Class Summary:
static class  AttributesImpl.ListNode  An attribute node. 
Method from sax.helpers.AttributesImpl Summary:
addAttribute,   addAttribute,   getIndex,   getIndex,   getLength,   getListNode,   getLocalName,   getQName,   getType,   getType,   getType,   getURI,   getValue,   getValue,   getValue,   insertAttributeAt,   insertAttributeAt,   removeAttribute,   removeAttribute,   removeAttributeAt,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from sax.helpers.AttributesImpl Detail:
 public  void addAttribute(String raw,
    String type,
    String value) 
    Adds an attribute.
 public  void addAttribute(String uri,
    String local,
    String raw,
    String type,
    String value) 
    Adds an attribute.
 public int getIndex(String raw) 
    Returns the index of the specified attribute.
 public int getIndex(String uri,
    String local) 
    Returns the index of the specified attribute.
 public int getLength() 
    Returns the number of attributes.
 public AttributesImpl.ListNode getListNode(String uri,
    String local) 
    Returns the first node with the specified uri and local.
 public String getLocalName(int index) 
    Returns the attribute local name by index.
 public String getQName(int index) 
    Returns the attribute raw name by index.
 public String getType(int index) 
    Returns the attribute type by index.
 public String getType(String raw) 
    Returns the attribute type by raw name.
 public String getType(String uri,
    String local) 
    Returns the attribute type by uri and local.
 public String getURI(int index) 
    Returns the attribute URI by index.
 public String getValue(int index) 
    Returns the attribute value by index.
 public String getValue(String raw) 
    Returns the attribute value by raw name.
 public String getValue(String uri,
    String local) 
    Returns the attribute value by uri and local.
 public  void insertAttributeAt(int index,
    String raw,
    String type,
    String value) 
    Inserts an attribute.
 public  void insertAttributeAt(int index,
    String uri,
    String local,
    String raw,
    String type,
    String value) 
    Inserts an attribute.
 public  void removeAttribute(String raw) 
    Removes the specified attribute.
 public  void removeAttribute(String uri,
    String local) 
    Removes the specified attribute.
 public  void removeAttributeAt(int index) 
    Removes an attribute.
 public String toString() 
    Returns a string representation of this object.