| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.apache.commons.jxpath.ri.compiler.Expressionorg.apache.commons.jxpath.ri.compiler.Operationorg.apache.commons.jxpath.ri.compiler.CoreOperationpublic abstract class CoreOperationextends OperationNested 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()