public class XMLHelper extends Object
| Constructor and Description |
|---|
XMLHelper() |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
getDataAsString(Object dataByXpath) |
static Object |
getDataByXPath(Document document,
String xPathStr) |
static Document |
stringToXml(String text) |
public static Document stringToXml(String text) throws ParserConfigurationException, IOException, SAXException
public static Object getDataByXPath(Document document, String xPathStr) throws XPathExpressionException
XPathExpressionExceptionpublic static List<String> getDataAsString(Object dataByXpath) throws TransformerException
TransformerExceptionCopyright © 2025. All rights reserved.