org.apache.struts.scripting
Class TestFilter
java.lang.Object
org.apache.struts.scripting.TestFilter
- All Implemented Interfaces:
- BSFManagerFilter
public class TestFilter
- extends Object
- implements BSFManagerFilter
Tests to make sure the filtering system is working.
Method Summary |
org.apache.bsf.BSFManager |
apply(org.apache.bsf.BSFManager mgr)
Applies the filter. |
void |
init(String name,
Properties props)
Initializes the filter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestFilter
public TestFilter()
init
public void init(String name,
Properties props)
- Initializes the filter.
- Specified by:
init
in interface BSFManagerFilter
- Parameters:
name
- The name of the filterprops
- The properties
apply
public org.apache.bsf.BSFManager apply(org.apache.bsf.BSFManager mgr)
- Applies the filter.
- Specified by:
apply
in interface BSFManagerFilter
- Parameters:
mgr
- The bsf manager
- Returns:
- The bsf manager
Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.