Package app.tozzi.util
Class XMLUtils
java.lang.Object
app.tozzi.util.XMLUtils
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
XMLUtils
public XMLUtils()
-
-
Method Details
-
getAttribute
public static Optional<String> getAttribute(Document doc, String path, String attributeName) throws XPathExpressionException - Throws:
XPathExpressionException
-
getTextAndAttribute
public static Map<String,String> getTextAndAttribute(Document document, String path, String attribute) throws XPathExpressionException - Throws:
XPathExpressionException
-
getTextContent
public static Optional<String> getTextContent(Document document, String path) throws XPathExpressionException - Throws:
XPathExpressionException
-