org.radeox.filter
Class EscapeFilter

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.EscapeFilter
All Implemented Interfaces:
CacheFilter, Filter

public class EscapeFilter
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
EscapeFilter()
           
 
Method Summary
 java.lang.String[] before()
           
protected  java.lang.String getLocaleKey()
           
 java.lang.String handleMatch(MatchResult result, FilterContext context)
           
 void handleMatch(java.lang.StringBuffer buffer, MatchResult result, FilterContext context)
          Method is called for every occurance of a regular expression.
 
Methods inherited from class org.radeox.filter.regex.LocaleRegexTokenFilter
getInputBundle, getOutputBundle, isSingleLine, 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
getDescription, replaces
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EscapeFilter

public EscapeFilter()
Method Detail

getLocaleKey

protected java.lang.String getLocaleKey()
Specified by:
getLocaleKey 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

handleMatch

public java.lang.String handleMatch(MatchResult result,
                                    FilterContext context)

before

public java.lang.String[] before()
Specified by:
before in interface Filter
Overrides:
before in class FilterSupport


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