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 XPathExpression
public XPathResult evaluate(XPathContext context) throws XPathException
evaluate
in interface XPathExpression
context
- The XPathContext to use during evaluation.XPathException
- if an error occured while
evaluating this expression.public java.lang.String toString()
XPathExpression
XPathExpression
object.toString
in interface XPathExpression
toString
in class java.lang.Object