org.springmodules.validation.valang.functions
Class DateLiteralFunction

java.lang.Object
  extended by 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

Constructor Summary
DateLiteralFunction(String value, DateParser dateParser, int line, int column)
           
 
Method Summary
 Object getResult(Object target)
          Gets the result of the function.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateLiteralFunction

public DateLiteralFunction(String value,
                           DateParser dateParser,
                           int line,
                           int column)
Method Detail

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.