org.objectweb.medor.filter.lib
Class IsNull

java.lang.Object
  extended byBasicUnaryOperator
      extended byorg.objectweb.medor.filter.lib.IsNull

public class IsNull
extends BasicUnaryOperator

IsNull operates on an Expression. Its evaluation returns true if the Expression is null, false otherwise.

See Also:
Serialized Form

Constructor Summary
IsNull()
           
IsNull(Expression e)
           
IsNull(Expression e, boolean not)
           
 
Method Summary
 java.lang.Object clone(java.lang.Object clone, java.util.Map obj2clone)
           
 Operand compileExpression()
           
 boolean evaluate(java.lang.Object op)
           
 org.objectweb.medor.expression.api.Operand evaluate(ParameterOperand[] pos, java.lang.Object o)
           
 boolean getNot()
           
 java.lang.String getOperatorString()
           
 void setNot(boolean not)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IsNull

public IsNull()

IsNull

public IsNull(Expression e)

IsNull

public IsNull(Expression e,
              boolean not)
Method Detail

clone

public java.lang.Object clone(java.lang.Object clone,
                              java.util.Map obj2clone)
                       throws java.lang.CloneNotSupportedException
Throws:
java.lang.CloneNotSupportedException

setNot

public void setNot(boolean not)

getNot

public boolean getNot()

evaluate

public org.objectweb.medor.expression.api.Operand evaluate(ParameterOperand[] pos,
                                                           java.lang.Object o)
                                                    throws ExpressionException
Throws:
ExpressionException

evaluate

public boolean evaluate(java.lang.Object op)

compileExpression

public Operand compileExpression()
                          throws ExpressionException,
                                 MalformedExpressionException
Throws:
ExpressionException
MalformedExpressionException

getOperatorString

public java.lang.String getOperatorString()