org.springmodules.validation.util.fel.parser
Class ValangFunctionExpressionParser.ValangFunction

java.lang.Object
  extended by org.springmodules.validation.util.fel.parser.ValangFunctionExpressionParser.ValangFunction
All Implemented Interfaces:
Function
Enclosing class:
ValangFunctionExpressionParser

protected class ValangFunctionExpressionParser.ValangFunction
extends Object
implements Function

A function that is associated with a valang function expression. This function evaluates the function on the given object and returns the result.


Constructor Summary
ValangFunctionExpressionParser.ValangFunction(String valangExpression)
           
 
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
 

Constructor Detail

ValangFunctionExpressionParser.ValangFunction

public ValangFunctionExpressionParser.ValangFunction(String valangExpression)
Method Detail

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.