com.xpn.xwiki.render
Class PreTagSubstitution

java.lang.Object
  extended by org.apache.oro.text.regex.StringSubstitution
      extended by org.apache.oro.text.regex.Perl5Substitution
          extended by com.xpn.xwiki.render.WikiSubstitution
              extended by com.xpn.xwiki.render.PreTagSubstitution
All Implemented Interfaces:
org.apache.oro.text.regex.Substitution

public class PreTagSubstitution
extends WikiSubstitution


Field Summary
 
Fields inherited from class org.apache.oro.text.regex.Perl5Substitution
INTERPOLATE_ALL, INTERPOLATE_NONE
 
Constructor Summary
PreTagSubstitution(Util util, boolean removepre)
           
 
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)
           
 List<String> getList()
           
 String insertNonWikiText(String content)
           
 boolean isRemovePre()
           
 void setList(List<String> 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
 

Constructor Detail

PreTagSubstitution

public PreTagSubstitution(Util util,
                          boolean removepre)
Method Detail

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

getList

public List<String> getList()

setList

public void setList(List<String> list)

insertNonWikiText

public String insertNonWikiText(String content)

isRemovePre

public boolean isRemovePre()

setRemovePre

public void setRemovePre(boolean remove)


Copyright © 2004–2014 XWiki. All rights reserved.