Skip to Content
Java in a Nutshell, 5th Edition
book

Java in a Nutshell, 5th Edition

by David Flanagan
March 2005
Intermediate to advanced
1254 pages
104h 21m
English
O'Reilly Media, Inc.
Content preview from Java in a Nutshell, 5th Edition

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);  
}
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Java in a Nutshell, 8th Edition

Java in a Nutshell, 8th Edition

Benjamin J. Evans, Jason Clark, David Flanagan
Java in a Nutshell, 7th Edition

Java in a Nutshell, 7th Edition

Benjamin J. Evans, David Flanagan
Learning Java, 5th Edition

Learning Java, 5th Edition

Marc Loy, Patrick Niemeyer, Daniel Leuck
Learning Java, 4th Edition

Learning Java, 4th Edition

Patrick Niemeyer, Daniel Leuck

Publisher Resources

ISBN: 0596007736Supplemental ContentErrata Page