| java.lang.Object com.sun.xml.stream.buffer.AttributesHolder
AttributesHolder | final public class AttributesHolder implements Attributes(Code) | | Class for holding attributes.
Since it implements
Attributes , this class follows the SAX convention
of using "" instead of null.
|
Method Summary | |
final public void | addAttributeWithPrefix(String prefix, String uri, String localName, String type, String value) Add an attribute using a prefix. | final public void | addAttributeWithQName(String uri, String localName, String qName, String type, String value) Add an attribute using a qualified name that contains the
prefix and local name. | final public void | clear() | final public int | getIndex(String qName) | final public int | getIndex(String uri, String localName) | final public int | getLength() | final public String | getLocalName(int index) | final public String | getPrefix(int index) | final public String | getQName(int index) | final public String | getType(int index) | final public String | getType(String qName) | final public String | getType(String uri, String localName) | final public String | getURI(int index) | final public String | getValue(int index) | final public String | getValue(String qName) | final public String | getValue(String uri, String localName) |
DEFAULT_CAPACITY | final protected static int DEFAULT_CAPACITY(Code) | | |
ITEM_SIZE | final protected static int ITEM_SIZE(Code) | | |
LOCAL_NAME | final protected static int LOCAL_NAME(Code) | | |
PREFIX | final protected static int PREFIX(Code) | | |
QNAME | final protected static int QNAME(Code) | | |
TYPE | final protected static int TYPE(Code) | | |
URI | final protected static int URI(Code) | | |
VALUE | final protected static int VALUE(Code) | | |
_attributeCount | protected int _attributeCount(Code) | | |
AttributesHolder | public AttributesHolder()(Code) | | |
addAttributeWithPrefix | final public void addAttributeWithPrefix(String prefix, String uri, String localName, String type, String value)(Code) | | Add an attribute using a prefix.
Parameters: prefix - This can be empty but not null, just like everywhere else in SAX. Parameters: uri - This can be empty but not null, just like everywhere else in SAX. |
addAttributeWithQName | final public void addAttributeWithQName(String uri, String localName, String qName, String type, String value)(Code) | | Add an attribute using a qualified name that contains the
prefix and local name.
Parameters: uri - This can be empty but not null, just like everywhere else in SAX. |
clear | final public void clear()(Code) | | |
getLength | final public int getLength()(Code) | | |
getLocalName | final public String getLocalName(int index)(Code) | | |
|
|