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
private  int counter
           
private  java.util.List list
           
private  boolean removePre
           
 
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(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
 

Field Detail

counter

private int counter

list

private java.util.List list

removePre

private boolean removePre
Constructor Detail

PreTagSubstitution

public PreTagSubstitution(Util util,
                          boolean removepre)
Method Detail

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