org.planx.xpath.expr.operator
Class Operator
java.lang.Object
org.planx.xpath.expr.Expression
org.planx.xpath.expr.operator.Operator
- Direct Known Subclasses:
- AndOperator, EqualityOperator, OrOperator, RelationalOperator, UnionOperator
public abstract class Operator
- extends Expression
An XPath operator.
e1
protected final Expression e1
e2
protected final Expression e2
Operator
public Operator(Expression e1,
Expression e2)
evaluate
public XObject evaluate(Context ctxt,
Environment env,
Navigator nav)
throws XPathException
- Description copied from class:
Expression
- Evaluate the expression for the given context using the
specified environment.
- Specified by:
evaluate in class Expression
- Throws:
XPathException
evaluate
protected abstract XObject evaluate(XObject o1,
XObject o2,
Navigator nav)
throws XPathException
- Throws:
XPathException
operatorName
protected abstract String operatorName()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2010. All Rights Reserved.