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

All Implemented Interfaces:
    AttributeList

An AttributeList implementation that can perform more operations than the attribute list helper supplied with the standard SAX distribution.
Nested Class Summary:
static class  AttributeListImpl.ListNode  An attribute node. 
Method from sax.helpers.AttributeListImpl Summary:
addAttribute,   getLength,   getName,   getType,   getType,   getValue,   getValue,   insertAttributeAt,   removeAttributeAt,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from sax.helpers.AttributeListImpl Detail:
 public  void addAttribute(String name,
    String type,
    String value) 
    Adds an attribute.
 public int getLength() 
    Returns the number of attributes.
 public String getName(int index) 
    Returns the attribute name by index.
 public String getType(int index) 
    Returns the attribute type by index.
 public String getType(String name) 
    Returns the attribute type by name.
 public String getValue(int index) 
    Returns the attribute value by index.
 public String getValue(String name) 
    Returns the attribute value by name.
 public  void insertAttributeAt(int index,
    String name,
    String type,
    String value) 
    Inserts an attribute.
 public  void removeAttributeAt(int index) 
    Removes an attribute.
 public String toString() 
    Returns a string representation of this object.