public class LinkTestFilter extends LocaleRegexTokenFilter
inputMessages, outputMessagesMULTILINE, pattern, SINGLELINE, substituteinitialContext| Constructor and Description |
|---|
LinkTestFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getLocaleKey()
The regular expression for detecting WikiLinks.
|
protected String |
getWikiView(String name,
String hash)
Returns the view of the wiki name that is shown to the user.
|
void |
handleMatch(StringBuffer buffer,
MatchResult result,
FilterContext context)
Method is called for every occurance of a regular expression.
|
getInputBundle, getOutputBundle, isSingleLine, setInitialContextfilter, setUpaddRegex, addRegex, clearRegexbefore, getDescription, replacesprotected String getLocaleKey()
getLocaleKey in class LocaleRegexTokenFilterpublic 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 filtersCopyright © 2003-2014 Sakai Project. All Rights Reserved.