com.xpn.xwiki.render
Class ListSubstitution
java.lang.Object
org.apache.oro.text.regex.StringSubstitution
org.apache.oro.text.regex.Perl5Substitution
com.xpn.xwiki.render.WikiSubstitution
com.xpn.xwiki.render.ListSubstitution
- All Implemented Interfaces:
- org.apache.oro.text.regex.Substitution
- public class ListSubstitution
- extends WikiSubstitution
Fields inherited from class org.apache.oro.text.regex.Perl5Substitution |
INTERPOLATE_ALL, INTERPOLATE_NONE |
Fields inherited from class org.apache.oro.text.regex.StringSubstitution |
|
Method Summary |
void |
appendSubstitution(java.lang.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)
|
java.lang.String |
dumpCurrentList(java.lang.StringBuffer output,
boolean force)
|
java.lang.String |
handleList(java.lang.String line)
|
java.lang.String |
substitute(java.lang.String line,
int type)
|
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TYPE_DL
private static final int TYPE_DL
- See Also:
- Constant Field Values
TYPE_UL1
private static final int TYPE_UL1
- See Also:
- Constant Field Values
TYPE_UL2
private static final int TYPE_UL2
- See Also:
- Constant Field Values
TYPE_OL
private static final int TYPE_OL
- See Also:
- Constant Field Values
dlpattern
private static final java.lang.String dlpattern
- See Also:
- Constant Field Values
ulpattern1
private static final java.lang.String ulpattern1
- See Also:
- Constant Field Values
ulpattern2
private static final java.lang.String ulpattern2
- See Also:
- Constant Field Values
olpattern
private static final java.lang.String olpattern
- See Also:
- Constant Field Values
finished
private boolean finished
currenttype
private int currenttype
currentline
private java.lang.String currentline
currentList
private java.lang.StringBuffer currentList
ListSubstitution
public ListSubstitution(Util util)
appendSubstitution
public void appendSubstitution(java.lang.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 java.lang.String substitute(java.lang.String line,
int type)
handleList
public java.lang.String handleList(java.lang.String line)
dumpCurrentList
public java.lang.String dumpCurrentList(java.lang.StringBuffer output,
boolean force)
Copyright 2003 Ludovic Dubost