|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xml.sax.helpers.AttributesImpl
com.skaringa.javaxml.handler.AttrImpl
public final class AttrImpl
An extended implementation of SAX Attributes.
Constructor Summary | |
---|---|
AttrImpl()
Construct a new empty AttrImpl. |
|
AttrImpl(org.xml.sax.Attributes attrs)
Construct a new AttrImpl which is a copy of the given attributes. |
Method Summary | |
---|---|
void |
addAttribute(java.lang.String simpleName,
java.lang.String value)
Add an attribute with no namespace prefix. |
void |
addAttribute(java.lang.String uri,
java.lang.String prefix,
java.lang.String localName,
java.lang.String value)
Add an attribute with namespace prefix. |
java.lang.String |
toString()
|
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, wait, wait, wait |
Constructor Detail |
---|
public AttrImpl()
public AttrImpl(org.xml.sax.Attributes attrs)
attrs
- The attributes to copy.Method Detail |
---|
public void addAttribute(java.lang.String simpleName, java.lang.String value)
simpleName
- The name of the attribute.value
- The value of the attribute.public void addAttribute(java.lang.String uri, java.lang.String prefix, java.lang.String localName, java.lang.String value)
uri
- The namespace URI.prefix
- The namespace prefixlocalName
- The local name of the attribute.value
- The value of the attribute.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |