Package org.radeox.filter.regex
Class RegexFilter
- java.lang.Object
-
- org.radeox.filter.FilterSupport
-
- org.radeox.filter.regex.RegexFilter
-
- All Implemented Interfaces:
Filter
- Direct Known Subclasses:
RegexReplaceFilter,RegexTokenFilter
public abstract class RegexFilter extends FilterSupport
-
-
Field Summary
Fields Modifier and Type Field Description static booleanMULTILINEprotected Listpatternstatic booleanSINGLELINEprotected Listsubstitute-
Fields inherited from class org.radeox.filter.FilterSupport
initialContext
-
-
Constructor Summary
Constructors Constructor Description RegexFilter()RegexFilter(String regex, String substitute)create a new regular expression that takes input as multiple linesRegexFilter(String regex, String substitute, boolean multiline)create a new regular expression and set
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidaddRegex(String regex, String substitute)voidaddRegex(String regex, String substitute, boolean multiline)voidclearRegex()abstract Stringfilter(String input, FilterContext context)-
Methods inherited from class org.radeox.filter.FilterSupport
before, getDescription, replaces, setInitialContext
-
-
-
-
Field Detail
-
pattern
protected List pattern
-
substitute
protected List substitute
-
SINGLELINE
public static final boolean SINGLELINE
- See Also:
- Constant Field Values
-
MULTILINE
public static final boolean MULTILINE
- See Also:
- Constant Field Values
-
-