org.springmodules.validation.valang.functions
Class DateLiteralFunction
java.lang.Object
org.springmodules.validation.valang.functions.DateLiteralFunction
- All Implemented Interfaces:
- Function
public class DateLiteralFunction
- extends Object
- implements Function
Literal function that re-parses date string
every time the result is asked for.
- Since:
- 26-04-2005
- Author:
- Steven Devijver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateLiteralFunction
public DateLiteralFunction(String value,
DateParser dateParser,
int line,
int column)
getResult
public Object getResult(Object target)
- Description copied from interface:
Function
Gets the result of the function.
- Specified by:
getResult
in interface Function
- Parameters:
target
- the target bean
- Returns:
- the result of the function
Copyright © 2009. All Rights Reserved.