|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xml.sax.helpers.AttributesImpl org.apache.xml.utils.MutableAttrListImpl
public class MutableAttrListImpl
Mutable version of AttributesImpl.
Field Summary | |
---|---|
(package private) static long |
serialVersionUID
|
Constructor Summary | |
---|---|
MutableAttrListImpl()
Construct a new, empty AttributesImpl object. |
|
MutableAttrListImpl(org.xml.sax.Attributes atts)
Copy an existing Attributes object. |
Method Summary | |
---|---|
void |
addAttribute(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
java.lang.String type,
java.lang.String value)
Add an attribute to the end of the list. |
void |
addAttributes(org.xml.sax.Attributes atts)
Add the contents of the attribute list to this list. |
boolean |
contains(java.lang.String name)
Return true if list contains the given (raw) attribute name. |
Methods inherited from class org.xml.sax.helpers.AttributesImpl |
---|
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 |
Field Detail |
---|
static final long serialVersionUID
Constructor Detail |
---|
public MutableAttrListImpl()
public MutableAttrListImpl(org.xml.sax.Attributes atts)
This constructor is especially useful inside a start element event.
atts
- The existing Attributes object.Method Detail |
---|
public void addAttribute(java.lang.String uri, java.lang.String localName, java.lang.String qName, java.lang.String type, java.lang.String value)
For the sake of speed, this method does no checking to see if the attribute is already in the list: that is the responsibility of the application.
addAttribute
in class org.xml.sax.helpers.AttributesImpl
uri
- The Namespace URI, or the empty string if
none is available or Namespace processing is not
being performed.localName
- The local name, or the empty string if
Namespace processing is not being performed.qName
- The qualified (prefixed) name, or the empty string
if qualified names are not available.type
- The attribute type as a string.value
- The attribute value.public void addAttributes(org.xml.sax.Attributes atts)
atts
- List of attributes to add to this listpublic boolean contains(java.lang.String name)
name
- Raw name of attribute to look for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |