|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.spieleck.pcs.util.XmlUtility
This class provides methods for easily accessing values in XML strings. It uses no DOM or SAX, just string methods. So there is hopefully no useless overhead.
Constructor Summary | |
XmlUtility()
|
Method Summary | |
static java.lang.String |
extractXmlValue(java.lang.String xmlSource,
java.lang.String tag)
returns the text within the first given occurrance of an XML element named tag in the string named xmlSource. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XmlUtility()
Method Detail |
public static java.lang.String extractXmlValue(java.lang.String xmlSource, java.lang.String tag)
tag
- the element which test is searched forxmlSource
- the XML string used as source
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |