|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.infohazard.maverick.util.XML
Field Summary | |
static java.lang.String |
ATTR_PARAM_NAME
The attribute for a parameter name |
static java.lang.String |
ATTR_VALUE
The attribute which represents the "value" of an element. |
protected static org.jdom.output.XMLOutputter |
outputter
|
static java.lang.String |
TAG_PARAM
The tag for a parameter node |
Constructor Summary | |
XML()
|
Method Summary | |
static java.lang.String |
escape(java.lang.String in)
Escapes any html characters in the input string. |
static java.util.Map |
getParams(org.jdom.Element node)
Extracts a set of param child nodes from the specified node. |
static java.lang.String |
getValue(org.jdom.Element node,
java.lang.String name)
Extracts the named value from the element, by checking (in order): |
static java.lang.String |
toString(org.jdom.Element node)
Converts the specified node (and subnodes) to a nice, pretty, html escaped XML string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String ATTR_VALUE
public static final java.lang.String TAG_PARAM
public static final java.lang.String ATTR_PARAM_NAME
protected static org.jdom.output.XMLOutputter outputter
Constructor Detail |
public XML()
Method Detail |
public static java.lang.String getValue(org.jdom.Element node, java.lang.String name)
Extracts the named value from the element, by checking (in order):
node
- name
-
public static java.lang.String toString(org.jdom.Element node)
node
-
public static java.lang.String escape(java.lang.String in)
in
-
public static java.util.Map getParams(org.jdom.Element node)
node
- Parent element.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |