|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mentawai.filter.ConversionFilter
public abstract class ConversionFilter
| Constructor Summary | |
|---|---|
ConversionFilter()
|
|
ConversionFilter(boolean restore)
|
|
| 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. |
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? |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConversionFilter()
public ConversionFilter(boolean restore)
| Method Detail |
|---|
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
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 | |||||||||