|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.restdriver.serverdriver.Xml
public final class Xml
Provides static helper methods for XML representations.
| Method Summary | |
|---|---|
static Element |
asXml(String xml)
Converts the given string to an XML element. |
static String |
extractXPathValue(String expression,
Element element)
Extracts an XPath value from an XML element and returns the result as a string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Element asXml(String xml)
xml - The XML string to be converted
public static String extractXPathValue(String expression,
Element element)
expression - The XPath expression to use for extractionelement - The element to use the XPath expression on
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||