|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mentawai.filter.ConverterFilter
public class ConverterFilter
A filter to perform conversions of the action input values. This filter has the exact same behaviour of the ConversionFilter except that it will get the conversion information from the action if it implements the Convertable interface.
| Constructor Summary | |
|---|---|
ConverterFilter()
Creates a ConverterFilter. |
|
ConverterFilter(boolean restore)
Creates a ConverterFilter. |
|
| Method Summary | |
|---|---|
void |
destroy()
Gives a chance to the filter to deallocalte any resources before it is destroyed. |
String |
filter(InvocationChain chain)
Executes the filter. |
void |
setRestore(boolean restore)
Should this filter restore the old values after the action has executed? |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConverterFilter()
public ConverterFilter(boolean restore)
restore - Restore the converted values after the action execution?| Method Detail |
|---|
public void setRestore(boolean restore)
restore - true to restore the values.
public String filter(InvocationChain chain)
throws Exception
Filter
filter in interface Filterchain - The InvocationChain for the action this filter is being applied to.
Exceptionpublic void destroy()
Filter
destroy in interface Filter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||