org.apache.struts.scripting
Class TestFilter

java.lang.Object
  extended by 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.


Constructor Summary
TestFilter()
           
 
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
 

Constructor Detail

TestFilter

public TestFilter()
Method Detail

init

public void init(String name,
                 Properties props)
Initializes the filter.

Specified by:
init in interface BSFManagerFilter
Parameters:
name - The name of the filter
props - 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.