public final class Xml extends Object
| Modifier and Type | Method and Description |
|---|---|
static Element |
asXml(Response response)
Converts the body of the given Response to an XML element.
|
static Element |
asXml(String content)
Deprecated.
Instead of doing asXml(response.getContent()) you can now do asXml(response).
|
static String |
extractXPathValue(String expression,
Element element)
Extracts an XPath value from an XML element and returns the result as a string.
|
@Deprecated public static Element asXml(String content)
content - The content to be convertedpublic static Element asXml(Response response)
response - The response to be convertedpublic static String extractXPathValue(String expression, Element element)
expression - The XPath expression to use for extractionelement - The element to use the XPath expression onCopyright © 2013. All Rights Reserved.