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 java.lang.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 java.lang.Object getResult(java.lang.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 java.lang.RuntimeException
- Throws:
java.lang.RuntimeException
getResult
protected abstract java.lang.Object getResult(java.lang.Object target,
Function[] arguments)
getArguments
public Function[] getArguments()
isInitialized
protected boolean isInitialized()
Copyright © 2005. All Rights Reserved.