Team LiB
Previous Section Next Section

AttributeListImplorg.xml.sax.helpers

Java 1.4; Deprecated in 1.4

This deprecated class is an implementation of the deprecated SAX1 org.xml.sax.AttributeList interface. They have been deprecated in favor of the AttributesImpl implementation of the SAX2 org.xml.sax.Attributes interface.

Figure 22-13. org.xml.sax.helpers.AttributeListImpl


public class AttributeListImpl implements org.xml.sax.AttributeList {
// Public Constructors
     public AttributeListImpl( );  
     public AttributeListImpl(org.xml.sax.AttributeList atts);  
// Public Instance Methods
     public void addAttribute(String name, String type, String value);  
     public void clear( );  
     public void removeAttribute(String name);  
     public void setAttributeList(org.xml.sax.AttributeList atts);  
// Methods Implementing AttributeList
     public int getLength( );                            default:0
     public String getName(int i);  
     public String getType(int i);  
     public String getType(String name);  
     public String getValue(String name);  
     public String getValue(int i);  
}

    Team LiB
    Previous Section Next Section