org.ceryle.wiki.plugin.query
Interface Operand

All Known Implementing Classes:
Assertion, Expression, Operand.NullOperand, Property, Term

public interface Operand

An Operand is anything capable of being evaluated to see if a candidate pagename should be included in the query results. Expressions and Terms are Operands.

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

Nested Class Summary
static class Operand.NullOperand
          Utility inner class, defined here for convenience.
 
Field Summary
static Operand NULL
          Use as the leftExpression of unary operators.
 
Method Summary
 boolean evaluateOperand(Modifier modifier, ReferenceInfoProvider refInfoProvider, String pageName)
          Evaluates the operand, returns the truth value.
 

Field Detail

NULL

static final Operand NULL
Use as the leftExpression of unary operators. It is essentially empty and always answers "true".

Method Detail

evaluateOperand

boolean evaluateOperand(Modifier modifier,
                        ReferenceInfoProvider refInfoProvider,
                        String pageName)
                        throws QueryException
Evaluates the operand, returns the truth value.

Throws:
QueryException


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