|
|||||||||
| Home >> All >> com >> thermidor >> [ xml overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.thermidor.xml
Class Attribs

java.lang.Objectorg.xml.sax.helpers.AttributesImpl
com.thermidor.xml.Attribs
- All Implemented Interfaces:
- org.xml.sax.Attributes
- public class Attribs
- extends org.xml.sax.helpers.AttributesImpl
Puts a simple wrapper around org.xml.sax.Attributes for when we only want to deal with simple attribute names.
| Field Summary |
| Fields inherited from class org.xml.sax.helpers.AttributesImpl |
|
| Constructor Summary | |
Attribs()
|
|
| Method Summary | |
void |
addAttribute(java.lang.String qname,
java.lang.String value)
Adds an attribute to the parent org.xml.sax.AttributesImpl. |
void |
addAttribute(java.lang.String qname,
java.lang.String type,
java.lang.String value)
Adds an attribute to the parent AttributesImpl. |
java.lang.String |
prettyString(int indentSize,
boolean sort)
Converts the list of attributes to a prettified String. |
private org.xml.sax.Attributes |
sort()
Returns a sorted list of attributes. |
java.lang.String |
toString()
Converts the list of attributes to a String. |
| 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 |
Attribs
public Attribs()
| Method Detail |
addAttribute
public void addAttribute(java.lang.String qname, java.lang.String value)
- Adds an attribute to the parent
org.xml.sax.AttributesImpl. Type defaulted to CDATA.
addAttribute
public void addAttribute(java.lang.String qname, java.lang.String type, java.lang.String value)
- Adds an attribute to the parent
AttributesImpl.
toString
public java.lang.String toString()
- Converts the list of attributes to a
String.
prettyString
public java.lang.String prettyString(int indentSize, boolean sort)
- Converts the list of attributes to a prettified
String.
sort
private org.xml.sax.Attributes sort()
- Returns a sorted list of attributes.
|
|||||||||
| Home >> All >> com >> thermidor >> [ xml overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC