org.ceryle.wiki.plugin.query.operators
Class AndOperator

java.lang.Object
  extended by org.ceryle.wiki.plugin.query.operators.Operator
      extended by org.ceryle.wiki.plugin.query.operators.AndOperator

public class AndOperator
extends Operator

The AND Operator, a component of a query expression.

Author:
Murray Altheim, John Volkar (john.volkar at gmail.com)

Field Summary
 
Fields inherited from class org.ceryle.wiki.plugin.query.operators.Operator
_ALL, _AND, _ANY, _BY, _FROM, _IS, _NOT, _NULL, _OR, _TO
 
Constructor Summary
AndOperator()
           
 
Method Summary
 boolean evaluateOperator(Operand left, Operand right, Modifier modifier, ReferenceInfoProvider refInfoProvider, String pageName)
          Evaluates the left and right operands, returns the AND of them.
 
Methods inherited from class org.ceryle.wiki.plugin.query.operators.Operator
getName, isInfix, isPrefix, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AndOperator

public AndOperator()
Method Detail

evaluateOperator

public boolean evaluateOperator(Operand left,
                                Operand right,
                                Modifier modifier,
                                ReferenceInfoProvider refInfoProvider,
                                String pageName)
                         throws QueryException
Evaluates the left and right operands, returns the AND of them.

Specified by:
evaluateOperator in class Operator
Throws:
QueryException
See Also:
Operator.evaluateOperator(Operand, Operand, Modifier, ReferenceInfoProvider, String)


The Ceryle Project. Copyright ©2001-2007 Murray Altheim, All Rights Reserved. See LICENSE included with distribution.