org.mentawai.filter
Class DynamicValueFilter
java.lang.Object
org.mentawai.filter.DynamicValueFilter
- All Implemented Interfaces:
- Filter
public abstract class DynamicValueFilter
- extends Object
- implements Filter
This abstract filter is useful for placing dynamic values
in the action output so that we can grab them in the view
with menta tags.
- Author:
- Sergio Oliveira Jr.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DynamicValueFilter
public DynamicValueFilter()
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
getParamName
protected abstract String getParamName()
getValueName
protected abstract String getValueName()
getBeanName
protected String getBeanName()
getBeanProperty
protected String getBeanProperty()
getValue
protected Object getValue(Object value)
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
Copyright © 2012. All Rights Reserved.