org.radeox.filter
Class ListFilter

java.lang.Object
  extended byorg.radeox.filter.FilterSupport
      extended byorg.radeox.filter.regex.RegexFilter
          extended byorg.radeox.filter.regex.RegexTokenFilter
              extended byorg.radeox.filter.regex.LocaleRegexTokenFilter
                  extended byorg.radeox.filter.ListFilter
All Implemented Interfaces:
CacheFilter, Filter

public class ListFilter
extends LocaleRegexTokenFilter
implements CacheFilter


Field Summary
 
Fields inherited from class org.radeox.filter.regex.LocaleRegexTokenFilter
inputMessages, outputMessages
 
Fields inherited from class org.radeox.filter.regex.RegexFilter
MULTILINE, pattern, SINGLELINE, substitute
 
Fields inherited from class org.radeox.filter.FilterSupport
initialContext
 
Constructor Summary
ListFilter()
           
 
Method Summary
protected  java.lang.String getLocaleKey()
           
 void handleMatch(java.lang.StringBuffer buffer, MatchResult result, FilterContext context)
          Method is called for every occurance of a regular expression.
protected  boolean isSingleLine()
           
 
Methods inherited from class org.radeox.filter.regex.LocaleRegexTokenFilter
getInputBundle, getOutputBundle, setInitialContext
 
Methods inherited from class org.radeox.filter.regex.RegexTokenFilter
filter, setUp
 
Methods inherited from class org.radeox.filter.regex.RegexFilter
addRegex, addRegex, clearRegex
 
Methods inherited from class org.radeox.filter.FilterSupport
before, getDescription, replaces
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListFilter

public ListFilter()
Method Detail

getLocaleKey

protected java.lang.String getLocaleKey()
Specified by:
getLocaleKey in class LocaleRegexTokenFilter

isSingleLine

protected boolean isSingleLine()
Overrides:
isSingleLine in class LocaleRegexTokenFilter

handleMatch

public void handleMatch(java.lang.StringBuffer buffer,
                        MatchResult result,
                        FilterContext context)
Description copied from class: RegexTokenFilter
Method is called for every occurance of a regular expression. Subclasses have to implement this mehtod.

Specified by:
handleMatch in class RegexTokenFilter
Parameters:
buffer - Buffer to write replacement string to
result - Hit with the found regualr expression
context - FilterContext for filters


Copyright © 2003 Matthias L. Jugel, Stephan J. Schmidt. All Rights Reserved.