org.mentawai.filter
Class VOFilter
java.lang.Object
org.mentawai.filter.VOFilter
- All Implemented Interfaces:
- Filter
public class VOFilter
- extends Object
- implements Filter
- Author:
- Sergio Oliveira
|
Constructor Summary |
VOFilter(Class klass)
|
VOFilter(Class klass,
boolean tryField)
|
VOFilter(Class klass,
String key)
|
VOFilter(Class klass,
String key,
boolean tryField)
|
VOFilter(Class klass,
String key,
boolean tryField,
boolean convert,
String prefix)
|
VOFilter(Class klass,
String key,
boolean tryField,
String prefix)
|
VOFilter(String key,
Class klass)
|
VOFilter(String key,
Class klass,
String prefix)
|
PREFIX_SEPARATOR
public static char PREFIX_SEPARATOR
VOFilter
public VOFilter(Class klass)
VOFilter
public VOFilter(Class klass,
boolean tryField)
VOFilter
public VOFilter(Class klass,
String key)
VOFilter
public VOFilter(String key,
Class klass)
VOFilter
public VOFilter(Class klass,
String key,
boolean tryField)
VOFilter
public VOFilter(Class klass,
String key,
boolean tryField,
String prefix)
VOFilter
public VOFilter(String key,
Class klass,
String prefix)
VOFilter
public VOFilter(Class klass,
String key,
boolean tryField,
boolean convert,
String prefix)
setConvertNullToFalse
public void setConvertNullToFalse(boolean convertNullToFalse)
toString
public String toString()
- Overrides:
toString in class Object
filter
public String filter(InvocationChain chain)
throws Exception
- Description copied from interface:
Filter
- Executes the filter.
- Specified by:
filter in interface Filter
- Parameters:
chain - The InvocationChain for the action this filter is being applied to.
- Returns:
- The result of the filter or the action the filter is being applied to.
- Throws:
Exception
destroy
public void destroy()
- Description copied from interface:
Filter
- Gives a chance to the filter to deallocalte any resources before it is destroyed.
This is called when the web application is stopped, in other words,
this has nothing to do with garbage collection.
- Specified by:
destroy in interface Filter
Copyright © 2012. All Rights Reserved.