|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mentawai.filter.FormatterFilter
public class FormatterFilter
A filter to format the action output values. This filter has the exact same behaviour of the FormatFilter except that it will get the formatters from the action if the action implements the Formattable interface.
Constructor Summary | |
---|---|
FormatterFilter()
Creates a new FormatterFilter. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FormatterFilter()
Method Detail |
---|
public String filter(InvocationChain chain) throws Exception
Filter
filter
in interface Filter
chain
- The InvocationChain for the action this filter is being applied to.
Exception
public void destroy()
Filter
destroy
in interface Filter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |