org.radeox.filter
Class UrlFilter

java.lang.Object
  |
  +--org.radeox.filter.FilterSupport
        |
        +--org.radeox.filter.regex.RegexFilter
              |
              +--org.radeox.filter.regex.RegexTokenFilter
                    |
                    +--org.radeox.filter.regex.LocaleRegexTokenFilter
                          |
                          +--org.radeox.filter.UrlFilter
All Implemented Interfaces:
ActionMatch, CacheFilter, Filter

public class UrlFilter
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
interps, limit, matcher, MULTILINE, pattern, SINGLELINE, substitute
 
Fields inherited from class org.radeox.filter.FilterSupport
initialContext
 
Constructor Summary
UrlFilter()
           
 
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.
 void setInitialContext(InitialRenderContext context)
           
 
Methods inherited from class org.radeox.filter.regex.LocaleRegexTokenFilter
getInputBundle, getOutputBundle, isSingleLine
 
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

UrlFilter

public UrlFilter()
Method Detail

getLocaleKey

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

setInitialContext

public void setInitialContext(InitialRenderContext context)
Specified by:
setInitialContext in interface Filter
Overrides:
setInitialContext 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 interface ActionMatch
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.