Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.commons.jxpath.ri.compiler.Expression
org.apache.commons.jxpath.ri.compiler.Operation
org.apache.commons.jxpath.ri.compiler.CoreOperation
public abstract class CoreOperation
extends Operation
Nested Class Summary |
Nested classes/interfaces inherited from class org.apache.commons.jxpath.ri.compiler.Expression | |
Expression.PointerIterator , Expression.ValueIterator |
Field Summary |
Fields inherited from class org.apache.commons.jxpath.ri.compiler.Expression | |
NOT_A_NUMBER , ONE , ZERO |
Constructor Summary | |
|
Method Summary | |
Object |
|
abstract Object |
|
protected abstract int |
|
abstract String |
|
protected abstract boolean |
|
String |
|
Methods inherited from class org.apache.commons.jxpath.ri.compiler.Operation | |
computeContextDependent , getArguments |
Methods inherited from class org.apache.commons.jxpath.ri.compiler.Expression | |
compute , computeContextDependent , computeValue , isContextDependent , iterate , iteratePointers |
public abstract Object computeValue(EvalContext context)
- Overrides:
- computeValue in interface Expression
protected abstract int getPrecedence()
Computes the precedence of the operation.
public abstract String getSymbol()
Returns the XPath symbol for this operation, e.g. "+", "div", etc.
protected abstract boolean isSymmetric()
Returns true if the operation is not sensitive to the order of arguments, e.g. "=", "and" etc, and false if it is, e.g. "<=", "div".
public String toString()