org.springmodules.validation.util.fel.parser
Class PropertyPathFunctionExpressionParser.PropertyPathFunction

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

protected class PropertyPathFunctionExpressionParser.PropertyPathFunction
extends java.lang.Object
implements Function

A function that is associated with a property path. On evaluation, the appropriate property value is extracted from the given object (bean).


Constructor Summary
PropertyPathFunctionExpressionParser.PropertyPathFunction(java.lang.String propertyPath)
           
 
Method Summary
 java.lang.Object evaluate(java.lang.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

PropertyPathFunctionExpressionParser.PropertyPathFunction

public PropertyPathFunctionExpressionParser.PropertyPathFunction(java.lang.String propertyPath)
Method Detail

evaluate

public java.lang.Object evaluate(java.lang.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 © 2005. All Rights Reserved.