Package org.radeox.filter
Class 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
Constructors Constructor Description ParamFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetLocaleKey()voidhandleMatch(StringBuffer buffer, MatchResult result, FilterContext context)Method is called for every occurance of a regular expression.protected booleanisSingleLine()-
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
-
-
-
-
Method Detail
-
handleMatch
public void handleMatch(StringBuffer buffer, MatchResult result, FilterContext context)
Description copied from class:RegexTokenFilterMethod is called for every occurance of a regular expression. Subclasses have to implement this mehtod.- Specified by:
handleMatchin classRegexTokenFilter- Parameters:
buffer- Buffer to write replacement string toresult- Hit with the found regualr expressioncontext- FilterContext for filters
-
getLocaleKey
protected String getLocaleKey()
- Specified by:
getLocaleKeyin classLocaleRegexTokenFilter
-
isSingleLine
protected boolean isSingleLine()
- Overrides:
isSingleLinein classLocaleRegexTokenFilter
-
-