org.apache.cocoon.woody.expression
Class IsNullFunction

java.lang.Object
  extended by org.outerj.expression.AbstractExpression
      extended by org.apache.cocoon.woody.expression.IsNullFunction
All Implemented Interfaces:
org.outerj.expression.Expression

public class IsNullFunction
extends org.outerj.expression.AbstractExpression

Returns true if argument is null.

Version:
CVS $Id: IsNullFunction.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Vadim Gritsenko

Field Summary
 
Fields inherited from class org.outerj.expression.AbstractExpression
arguments, column, line
 
Constructor Summary
IsNullFunction()
           
 
Method Summary
 void check()
           
 Object evaluate(org.outerj.expression.ExpressionContext context)
           
 String getDescription()
           
 Class getResultType()
           
 
Methods inherited from class org.outerj.expression.AbstractExpression
addArgument, addArgument, checkArgument, checkArguments, checkArgumentsOfSameType, checkNoArguments, getColumn, getLine, setPosition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IsNullFunction

public IsNullFunction()
Method Detail

evaluate

public Object evaluate(org.outerj.expression.ExpressionContext context)
                throws org.outerj.expression.ExpressionException
Throws:
org.outerj.expression.ExpressionException

check

public void check()
           throws org.outerj.expression.ExpressionException
Specified by:
check in interface org.outerj.expression.Expression
Overrides:
check in class org.outerj.expression.AbstractExpression
Throws:
org.outerj.expression.ExpressionException

getResultType

public Class getResultType()

getDescription

public String getDescription()


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.