Class XPathUtils
- java.lang.Object
-
- org.vedantatree.expressionoasis.utils.XPathUtils
-
public class XPathUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description XPathUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.xpath.objects.XObject
evaluateExpression(Document document, String xPathExpression)
static ValueObject
evaluateExpressionToValueObject(Document document, String xPathExpression)
static String
getXMLString(Object obj)
static void
main(String[] args)
-
-
-
Method Detail
-
evaluateExpressionToValueObject
public static ValueObject evaluateExpressionToValueObject(Document document, String xPathExpression) throws ExpressionEngineException
- Throws:
ExpressionEngineException
-
evaluateExpression
public static org.apache.xpath.objects.XObject evaluateExpression(Document document, String xPathExpression) throws ExpressionEngineException
- Throws:
ExpressionEngineException
-
-