fi.iki.hsivonen.xml
Class AttributesImpl
java.lang.Object
org.xml.sax.helpers.AttributesImpl
fi.iki.hsivonen.xml.AttributesImpl
- All Implemented Interfaces:
- Attributes
public class AttributesImpl
- extends AttributesImpl
- Version:
- $Id: AttributesImpl.java,v 1.2 2006/10/30 20:11:20 hsivonen Exp $
- Author:
- hsivonen
Methods inherited from class org.xml.sax.helpers.AttributesImpl |
addAttribute, clear, getIndex, getIndex, getLength, getLocalName, getQName, getType, getType, getType, getURI, getValue, getValue, getValue, removeAttribute, setAttribute, setAttributes, setLocalName, setQName, setType, setURI, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributesImpl
public AttributesImpl()
AttributesImpl
public AttributesImpl(Attributes atts)
- Parameters:
atts
-
addAttribute
public void addAttribute(String localName,
String value)
- Adds an attribute that is not in a namespace. The infoset type
of the attribute will be ID if the
localName
is
"id" and CDATA otherwise.
- Parameters:
localName
- the local name of the attributevalue
- the value of the attribute