1 16 package org.apache.cocoon.forms.expression; 17 18 import org.outerj.expression.AbstractExpression; 19 import org.outerj.expression.ExpressionContext; 20 import org.outerj.expression.ExpressionException; 21 22 28 public class NullFunction extends AbstractExpression { 29 30 public Object evaluate(ExpressionContext context) throws ExpressionException { 31 return null; 32 } 33 34 public Class getResultType() { 35 return Object .class; 36 } 37 38 public String getDescription() { 39 return "Null function"; 40 } 41 } 42 | Popular Tags |