public class OVFilter extends Object implements Filter
| Modifier and Type | Field and Description |
|---|---|
static char |
PREFIX_SEPARATOR |
| Constructor and Description |
|---|
OVFilter(String key)
Creates a OVFilter that will be applied to the bean in the action output with the given key.
|
OVFilter(String key,
boolean overwrite)
Creates a OVFilter that will be applied to the bean in the action output with the given key.
|
OVFilter(String key,
String prefix)
Creates a OVFilter that will be applied to the bean in the action output with the given key.
|
OVFilter(String key,
String prefix,
boolean overwrite)
Creates a OVFilter that will be applied to the bean in the action output with the given key.
|
public OVFilter(String key)
key - The key with which the object (bean) is placed in the action output.public OVFilter(String key, String prefix)
key - The key with which the object (bean) is placed in the action output.prefix - The prefix will be appended to the attribute name on the action output.public OVFilter(String key, boolean overwrite)
key - The key with which the object (bean) is placed in the action output.overwrite - Overwrite the value in the output if it is already there? (default is true)public OVFilter(String key, String prefix, boolean overwrite)
key - The key with which the object (bean) is placed in the action output.prefix - The prefix will be appended to the attribute name on the action output.overwrite - Overwrite the value in the output if it is already there? (default is true)public String filter(InvocationChain chain) throws Exception
Filterpublic void destroy()
FilterCopyright © 2015. All Rights Reserved.