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

java.lang.Object
  extended by org.springmodules.validation.util.fel.parser.PropertyPathFunctionExpressionParser
All Implemented Interfaces:
FunctionExpressionParser

public class PropertyPathFunctionExpressionParser
extends java.lang.Object
implements FunctionExpressionParser

A FunctionExpressionParser implementation that knows how to parse BeanWrapper-like property paths and returns a function that extracts the appropriate property value from the given object (bean).

Author:
Uri Boness

Nested Class Summary
protected  class PropertyPathFunctionExpressionParser.PropertyPathFunction
          A function that is associated with a property path.
 
Constructor Summary
PropertyPathFunctionExpressionParser()
           
 
Method Summary
 Function parse(java.lang.String expression)
          Parses the given function expression and returns the parsed function.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyPathFunctionExpressionParser

public PropertyPathFunctionExpressionParser()
Method Detail

parse

public Function parse(java.lang.String expression)
Description copied from interface: FunctionExpressionParser
Parses the given function expression and returns the parsed function.

Specified by:
parse in interface FunctionExpressionParser
Parameters:
expression - The function expression.
Returns:
The parsed function.


Copyright © 2005. All Rights Reserved.