Package org.adempiere.process.rpl
Class XMLHelper
java.lang.Object
org.adempiere.process.rpl.XMLHelper
Utility class which helps with XML processing.
- Version:
- $Id$
- Author:
- Trifon Trifonov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Document
createDocumentFromFile
(String pathToXmlFile) static Document
static Boolean
getBoolean
(String xPathExpression, Node node) static Element
getElement
(String xPathExpression, Node node) static Node
static NodeList
getNodeList
(String xPathExpression, Node node) static Double
static String
-
Constructor Details
-
XMLHelper
public XMLHelper()
-
-
Method Details
-
getElement
- Throws:
XPathExpressionException
-
getNode
- Throws:
XPathExpressionException
-
getNodeList
public static NodeList getNodeList(String xPathExpression, Node node) throws XPathExpressionException - Throws:
XPathExpressionException
-
getNumber
- Throws:
XPathExpressionException
-
getString
- Throws:
XPathExpressionException
-
getBoolean
- Throws:
XPathExpressionException
-
createDocumentFromFile
public static Document createDocumentFromFile(String pathToXmlFile) throws ParserConfigurationException, SAXException, IOException -
createDocumentFromString
public static Document createDocumentFromString(String str) throws ParserConfigurationException, SAXException, IOException
-