public abstract class ConversionFilter extends Object implements Filter
| Constructor and Description |
|---|
ConversionFilter() |
ConversionFilter(boolean restore) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Gives a chance to the filter to deallocalte any resources before it is destroyed.
|
String |
filter(InvocationChain chain)
Executes the filter.
|
abstract void |
prepareConverters(Map<String,Converter> converters,
Action action,
String innerAction)
Override this abstract method to add converters for the fields you want to convert.
|
void |
setRestore(boolean restore)
Should this filter restore the old values after the action has executed?
|
public ConversionFilter()
public ConversionFilter(boolean restore)
public void setRestore(boolean restore)
restore - true to restore the values.public abstract void prepareConverters(Map<String,Converter> converters, Action action, String innerAction)
public String filter(InvocationChain chain) throws Exception
Filterpublic void destroy()
FilterCopyright © 2015. All Rights Reserved.