com.novell.xml.xpath
Class PathExpr
java.lang.Object
com.novell.xml.xpath.NodeSetExpr
com.novell.xml.xpath.PathExpr
- All Implemented Interfaces:
- Expression
- public class PathExpr
- extends NodeSetExpr
- implements Expression
This class implements some of the functionality of an XPath
PathExpr production. In particular, it implements the
composition of an arbitrary expression and a RelativeLocationPath.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PathExpr
public PathExpr(Expression lhs,
RelativeLocationPath rhs)
evaluate
public ExpressionValue evaluate(Node contextNode,
ExpressionContext context)
throws XPathEvaluationException
- Evaluate the expression with repect to the passed context
- Specified by:
evaluate
in interface Expression
- Parameters:
contextNode
- context node for expression evaluationcontext
- expression context for expression evaluation
- Returns:
- result of evaluating expression
- Throws:
XPathEvaluationException