org.radeox.filter
Class ParamFilter

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.ParamFilter
All Implemented Interfaces:
Filter

public class ParamFilter
extends LocaleRegexTokenFilter


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
ParamFilter()
           
 
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

ParamFilter

public ParamFilter()
Method Detail

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

getLocaleKey

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

isSingleLine

protected boolean isSingleLine()
Overrides:
isSingleLine in class LocaleRegexTokenFilter


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