public class PreEscapeMathFilter extends RegexTokenFilter implements CacheFilter
MULTILINE, pattern, SINGLELINE, substituteinitialContext| Constructor and Description |
|---|
PreEscapeMathFilter() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
before() |
void |
escape(StringBuffer buffer,
String toEscape) |
void |
handleMatch(StringBuffer buffer,
MatchResult result,
FilterContext context)
Method is called for every occurance of a regular expression.
|
filter, setUpaddRegex, addRegex, clearRegexgetDescription, replaces, setInitialContextpublic void handleMatch(StringBuffer buffer, MatchResult result, FilterContext context)
RegexTokenFilterhandleMatch in class RegexTokenFilterbuffer - Buffer to write replacement string toresult - Hit with the found regualr expressioncontext - FilterContext for filterspublic void escape(StringBuffer buffer, String toEscape)
public String[] before()
before in interface Filterbefore in class FilterSupportCopyright © 2003–2018 Sakai Project. All rights reserved.