org.springmodules.validation.util.fel.parser
Class OgnlFunctionExpressionParser.OgnlFunction
java.lang.Object
org.springmodules.validation.util.fel.parser.OgnlFunctionExpressionParser.OgnlFunction
- All Implemented Interfaces:
- Function
- Enclosing class:
- OgnlFunctionExpressionParser
protected class OgnlFunctionExpressionParser.OgnlFunction
- extends Object
- implements Function
A function that is associated with an OGNL expression and evaluates this expression on
the given object.
Method Summary |
Object |
evaluate(Object argument)
Evaluate the function on the given argument and return the evaluation result. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OgnlFunctionExpressionParser.OgnlFunction
public OgnlFunctionExpressionParser.OgnlFunction(String expressionAsString)
evaluate
public Object evaluate(Object argument)
- Description copied from interface:
Function
- Evaluate the function on the given argument and return the evaluation result.
- Specified by:
evaluate
in interface Function
- Parameters:
argument
- The argument to the function.
- Returns:
- The evaluation result
Copyright © 2009. All Rights Reserved.