org.springmodules.validation.valang.functions
Class LiteralFunction
java.lang.Object
org.springmodules.validation.valang.functions.LiteralFunction
- All Implemented Interfaces:
- Function
- Direct Known Subclasses:
- EnumLiteralFunction
public class LiteralFunction
- extends Object
- implements Function
Container class for a literal function. Stricly speaking this is not a function
as it does not manipulate data.
- Since:
- Apr 23, 2005
- Author:
- Steven Devijver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LiteralFunction
public LiteralFunction(Object literal)
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.