org.springmodules.validation.valang.functions
Class AbstractInitializableFunction
java.lang.Object
  
org.springmodules.validation.valang.functions.AbstractInitializableFunction
- All Implemented Interfaces: 
 - Function
 
public abstract class AbstractInitializableFunction
- extends Object
- implements Function
  
- Author:
 
  - Uri Boness
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
AbstractInitializableFunction
protected AbstractInitializableFunction()
AbstractInitializableFunction
protected AbstractInitializableFunction(Function[] arguments,
                                        int line,
                                        int column)
init
public void init(Function[] arguments,
                 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
 
 
validateArguments
protected abstract void validateArguments(Function[] arguments)
                                   throws RuntimeException
 
- Throws:
 RuntimeException
 
getResult
protected abstract Object getResult(Object target,
                                    Function[] arguments)
 
 
getArguments
public Function[] getArguments()
 
 
isInitialized
protected boolean isInitialized()
 
 
Copyright © 2009. All Rights Reserved.