org.apache.commons.jxpath.ri.compiler

Class CoreOperationAnd


public class CoreOperationAnd
extends CoreOperation

Implementation of Expression for the operation "and".
Version:
$Revision: 1.3 $ $Date: 2004/02/29 14:17:39 $
Author:
Dmitri Plotnikov

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.Operation

args

Fields inherited from class org.apache.commons.jxpath.ri.compiler.Expression

NOT_A_NUMBER, ONE, ZERO

Constructor Summary

CoreOperationAnd(Expression[] args)

Method Summary

Object
computeValue(EvalContext context)
protected int
getPrecedence()
String
getSymbol()
protected boolean
isSymmetric()

Methods inherited from class org.apache.commons.jxpath.ri.compiler.CoreOperation

compute, computeValue, getPrecedence, getSymbol, isSymmetric, toString

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

Constructor Details

CoreOperationAnd

public CoreOperationAnd(Expression[] args)

Method Details

computeValue

public Object computeValue(EvalContext context)
Overrides:
computeValue in interface CoreOperation

getPrecedence

protected int getPrecedence()
Overrides:
getPrecedence in interface CoreOperation

getSymbol

public String getSymbol()
Overrides:
getSymbol in interface CoreOperation

isSymmetric

protected boolean isSymmetric()
Overrides:
isSymmetric in interface CoreOperation