org.ceryle.wiki.plugin.query
Class Operand.NullOperand

java.lang.Object
  extended by org.ceryle.wiki.plugin.query.Operand.NullOperand
All Implemented Interfaces:
Operand
Enclosing interface:
Operand

public static class Operand.NullOperand
extends Object
implements Operand

Utility inner class, defined here for convenience.

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

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.ceryle.wiki.plugin.query.Operand
Operand.NullOperand
 
Field Summary
 
Fields inherited from interface org.ceryle.wiki.plugin.query.Operand
NULL
 
Method Summary
 boolean evaluateOperand(Modifier modifier, ReferenceInfoProvider refInfoProvider, String pageName)
          Override to always return true, always evaluates to true.
 String toString()
          Override to return empty string, a null operand has no representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

toString

public String toString()
Override to return empty string, a null operand has no representation.

Overrides:
toString in class Object

evaluateOperand

public boolean evaluateOperand(Modifier modifier,
                               ReferenceInfoProvider refInfoProvider,
                               String pageName)
                        throws QueryException
Override to always return true, always evaluates to true.

Specified by:
evaluateOperand in interface Operand
Throws:
QueryException


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