org.adempiere.server.rpl
Class XMLHelper
java.lang.Object
org.adempiere.server.rpl.XMLHelper
public class XMLHelper
- extends Object
Utility class which helps with XML processing.
- Version:
- $Id$
- Author:
- Trifon Trifonov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLHelper
public XMLHelper()
getElement
public static Element getElement(String xPathExpression,
Node node)
throws XPathExpressionException
- Throws:
XPathExpressionException
getNode
public static Node getNode(String xPathExpression,
Node node)
throws XPathExpressionException
- Throws:
XPathExpressionException
getNodeList
public static NodeList getNodeList(String xPathExpression,
Node node)
throws XPathExpressionException
- Throws:
XPathExpressionException
getNumber
public static Double getNumber(String xPathExpression,
Node node)
throws XPathExpressionException
- Throws:
XPathExpressionException
getString
public static String getString(String xPathExpression,
Node node)
throws XPathExpressionException
- Throws:
XPathExpressionException
getBoolean
public static Boolean getBoolean(String xPathExpression,
Node node)
throws XPathExpressionException
- Throws:
XPathExpressionException
createDocumentFromFile
public static Document createDocumentFromFile(String pathToXmlFile)
throws ParserConfigurationException,
SAXException,
IOException
- Throws:
ParserConfigurationException
SAXException
IOException
createDocumentFromString
public static Document createDocumentFromString(String str)
throws ParserConfigurationException,
SAXException,
IOException
- Throws:
ParserConfigurationException
SAXException
IOException
Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.