Name

AttributeListImpl

Synopsis

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.

org.xml.sax.helpers.AttributeListImpl

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);  
}

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.