com.xpn.xwiki.render
Class HeadingSubstitution
java.lang.Object
org.apache.oro.text.regex.StringSubstitution
org.apache.oro.text.regex.Perl5Substitution
com.xpn.xwiki.render.WikiSubstitution
com.xpn.xwiki.render.HeadingSubstitution
- All Implemented Interfaces:
- org.apache.oro.text.regex.Substitution
public class HeadingSubstitution
- extends WikiSubstitution
Field Summary |
static int |
DA
|
static int |
HT
|
Fields inherited from class org.apache.oro.text.regex.Perl5Substitution |
INTERPOLATE_ALL, INTERPOLATE_NONE |
Method Summary |
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)
|
static String |
substitute(Util util,
String pattern,
int type,
String line)
|
Methods inherited from class com.xpn.xwiki.render.WikiSubstitution |
getMatcher, getPattern, getUtil, makePattern, makePattern, prepareSubstitution, setPattern, setPattern, setPattern, setUtil, substitute |
Methods inherited from class org.apache.oro.text.regex.Perl5Substitution |
setSubstitution, setSubstitution |
Methods inherited from class org.apache.oro.text.regex.StringSubstitution |
getSubstitution, toString |
HT
public static final int HT
- See Also:
- Constant Field Values
DA
public static final int DA
- See Also:
- Constant Field Values
HeadingSubstitution
public HeadingSubstitution(Util util,
String patternparam,
int type)
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 interface org.apache.oro.text.regex.Substitution
- Overrides:
appendSubstitution
in class WikiSubstitution
substitute
public static String substitute(Util util,
String pattern,
int type,
String line)
Copyright © 2004–2014 XWiki. All rights reserved.