org.olat.core.util.filter
Class ChainedFilter

java.lang.Object
  extended by org.olat.core.util.filter.ChainedFilter
All Implemented Interfaces:
Filter

public class ChainedFilter
extends java.lang.Object
implements Filter

Description:
The filter chain allows you to use muliple filters in a chain.

Initial Date: 13.07.2009

Author:
gnaegi

Constructor Summary
ChainedFilter()
           
 
Method Summary
 void addFilter(Filter filter)
          Add a filter to the filter chain
 java.lang.String filter(java.lang.String original)
          Filter the original value and return the result.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChainedFilter

public ChainedFilter()
Method Detail

filter

public java.lang.String filter(java.lang.String original)
Description copied from interface: Filter
Filter the original value and return the result. If the original value is NULL, the filter method will return NULL

Specified by:
filter in interface Filter
Returns:
See Also:
Filter.filter(java.lang.String)

addFilter

public void addFilter(Filter filter)
Add a filter to the filter chain

Parameters:
filter -