com.xpn.xwiki.render
Class PreTagSubstitution
java.lang.Object
org.apache.oro.text.regex.StringSubstitution
org.apache.oro.text.regex.Perl5Substitution
com.xpn.xwiki.render.WikiSubstitution
com.xpn.xwiki.render.PreTagSubstitution
- All Implemented Interfaces:
- org.apache.oro.text.regex.Substitution
public class PreTagSubstitution
- extends WikiSubstitution
Fields inherited from class org.apache.oro.text.regex.Perl5Substitution |
INTERPOLATE_ALL, INTERPOLATE_NONE |
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.util.List |
getList()
|
java.lang.String |
insertNonWikiText(java.lang.String content)
|
boolean |
isRemovePre()
|
void |
setList(java.util.List list)
|
void |
setRemovePre(boolean remove)
|
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 |
counter
private int counter
list
private java.util.List list
removePre
private boolean removePre
PreTagSubstitution
public PreTagSubstitution(Util util,
boolean removepre)
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
getList
public java.util.List getList()
setList
public void setList(java.util.List list)
insertNonWikiText
public java.lang.String insertNonWikiText(java.lang.String content)
isRemovePre
public boolean isRemovePre()
setRemovePre
public void setRemovePre(boolean remove)
Copyright 2003 Ludovic Dubost