org.springmodules.validation.util.fel
Interface Function

All Known Implementing Classes:
OgnlFunctionExpressionParser.OgnlFunction, PropertyPathFunctionExpressionParser.PropertyPathFunction, ValangFunctionExpressionParser.ValangFunction

public interface Function

Represents a single argument function. The function evaluates the argument and outputs the evaluation result.

Author:
Uri Boness

Method Summary
 Object evaluate(Object argument)
          Evaluate the function on the given argument and return the evaluation result.
 

Method Detail

evaluate

Object evaluate(Object argument)
                throws FelEvaluationException
Evaluate the function on the given argument and return the evaluation result.

Parameters:
argument - The argument to the function.
Returns:
The evaluation result
Throws:
FelEvaluationException - thrown when the evaluation fails.


Copyright © 2009. All Rights Reserved.