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 voidappendSubstitution(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.Perl5MatchergetMatcher()org.apache.oro.text.regex.PatterngetPattern()UtilgetUtil()StringmakePattern(String patternparam)StringmakePattern(String[] patternparam)voidprepareSubstitution(org.apache.oro.text.regex.MatchResult matchResult)voidsetPattern(String patternparam)voidsetPattern(String patternparam, int options)voidsetPattern(org.apache.oro.text.regex.Pattern pattern)voidsetUtil(Util util)Stringsubstitute(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:
appendSubstitutionin interfaceorg.apache.oro.text.regex.Substitution- Overrides:
appendSubstitutionin 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)
-
-