Package com.xpn.xwiki.render
Class WikiSubstitution
- java.lang.Object
-
- org.apache.oro.text.regex.StringSubstitution
-
- org.apache.oro.text.regex.Perl5Substitution
-
- com.xpn.xwiki.render.WikiSubstitution
-
- All Implemented Interfaces:
org.apache.oro.text.regex.Substitution
public class WikiSubstitution extends org.apache.oro.text.regex.Perl5Substitution
-
-
Constructor Summary
Constructors Constructor Description WikiSubstitution(Util util)
WikiSubstitution(Util util, String patternparam)
WikiSubstitution(Util util, String[] patternparam)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(String patternparam)
void
setPattern(String patternparam, int options)
void
setPattern(org.apache.oro.text.regex.Pattern pattern)
void
setUtil(Util util)
String
substitute(String line)
-
-
-
Method Detail
-
setPattern
public void setPattern(String patternparam)
-
setPattern
public void setPattern(String patternparam, int options)
-
getMatcher
public org.apache.oro.text.regex.Perl5Matcher getMatcher()
-
getPattern
public org.apache.oro.text.regex.Pattern getPattern()
-
setPattern
public void setPattern(org.apache.oro.text.regex.Pattern pattern)
-
appendSubstitution
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)
- Specified by:
appendSubstitution
in interfaceorg.apache.oro.text.regex.Substitution
- Overrides:
appendSubstitution
in classorg.apache.oro.text.regex.Perl5Substitution
-
prepareSubstitution
public void prepareSubstitution(org.apache.oro.text.regex.MatchResult matchResult)
-
getUtil
public Util getUtil()
-
setUtil
public void setUtil(Util util)
-
-