public class ErrorExpr extends java.lang.Object implements XPathExpression
BOOLEAN, ERROR, FILTER_EXPR, LOCATION_PATH, NODE_TEST, NUMBER, PATH_EXPR, PRIMARY, STEP, STRING, UNION_EXPR| Modifier and Type | Method and Description |
|---|---|
XPathResult |
evaluate(XPathContext context)
Evaluates the expression and returns the XPath result.
|
short |
getExprType()
Returns the type of Expr this Expr represents
|
java.lang.String |
toString()
Returns the XPath expression as a string.
|
public short getExprType()
getExprType in interface XPathExpressionpublic XPathResult evaluate(XPathContext context) throws XPathException
evaluate in interface XPathExpressioncontext - The XPathContext to use during evaluation.XPathException - if an error occured while
evaluating this expression.public java.lang.String toString()
XPathExpressionXPathExpression object.toString in interface XPathExpressiontoString in class java.lang.Object