public class CoreOperationAnd extends CoreOperation
Expression for the operation "and".Expression.PointerIterator, Expression.ValueIteratorADD_PRECEDENCE, AND_PRECEDENCE, COMPARE_PRECEDENCE, MULTIPLY_PRECEDENCE, NEGATE_PRECEDENCE, OR_PRECEDENCE, RELATIONAL_EXPR_PRECEDENCE, UNION_PRECEDENCENOT_A_NUMBER, ONE, ZERO| Constructor | Description |
|---|---|
CoreOperationAnd(Expression[] args) |
Create a new CoreOperationAnd.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
computeValue(EvalContext context) |
Evaluates the expression.
|
protected int |
getPrecedence() |
Computes the precedence of the operation.
|
java.lang.String |
getSymbol() |
Returns the XPath symbol for this operation, e.g.
|
protected boolean |
isSymmetric() |
Returns true if the operation is not sensitive to the order of arguments,
e.g.
|
compute, toStringisContextDependent, iterate, iteratePointersclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcomputeContextDependent, getArgumentspublic CoreOperationAnd(Expression[] args)
args - to combinepublic java.lang.Object computeValue(EvalContext context)
ExpressioncomputeValue in class CoreOperationcontext - evaluation contextprotected int getPrecedence()
CoreOperationgetPrecedence in class CoreOperationprotected boolean isSymmetric()
CoreOperationisSymmetric in class CoreOperationpublic java.lang.String getSymbol()
CoreOperationgetSymbol in class CoreOperation