public class WikiSubstitution
extends org.apache.oro.text.regex.Perl5Substitution
Constructor and Description |
---|
WikiSubstitution(Util util) |
WikiSubstitution(Util util,
String patternparam) |
WikiSubstitution(Util util,
String[] patternparam) |
Modifier and Type | Method and Description |
---|---|
void |
appendSubstitution(StringBuffer stringBuffer,
org.apache.oro.text.regex.MatchResult matchResult,
int i,
org.apache.oro.text.regex.PatternMatcherInput minput,
org.apache.oro.text.regex.PatternMatcher patternMatcher,
org.apache.oro.text.regex.Pattern pattern) |
org.apache.oro.text.regex.Perl5Matcher |
getMatcher() |
org.apache.oro.text.regex.Pattern |
getPattern() |
Util |
getUtil() |
String |
makePattern(String patternparam) |
String |
makePattern(String[] patternparam) |
void |
prepareSubstitution(org.apache.oro.text.regex.MatchResult matchResult) |
void |
setPattern(org.apache.oro.text.regex.Pattern pattern) |
void |
setPattern(String patternparam) |
void |
setPattern(String patternparam,
int options) |
void |
setUtil(Util util) |
String |
substitute(String line) |
public WikiSubstitution(Util util)
public void setPattern(String patternparam)
public void setPattern(String patternparam, int options)
public org.apache.oro.text.regex.Perl5Matcher getMatcher()
public org.apache.oro.text.regex.Pattern getPattern()
public void setPattern(org.apache.oro.text.regex.Pattern pattern)
public void appendSubstitution(StringBuffer stringBuffer, org.apache.oro.text.regex.MatchResult matchResult, int i, org.apache.oro.text.regex.PatternMatcherInput minput, org.apache.oro.text.regex.PatternMatcher patternMatcher, org.apache.oro.text.regex.Pattern pattern)
appendSubstitution
in interface org.apache.oro.text.regex.Substitution
appendSubstitution
in class org.apache.oro.text.regex.Perl5Substitution
public void prepareSubstitution(org.apache.oro.text.regex.MatchResult matchResult)
public Util getUtil()
public void setUtil(Util util)
Copyright © 2004–2021 XWiki. All rights reserved.