com.xpn.xwiki.render
Class FormattingSubstitution
java.lang.Object
org.apache.oro.text.regex.StringSubstitution
org.apache.oro.text.regex.Perl5Substitution
com.xpn.xwiki.render.WikiSubstitution
com.xpn.xwiki.render.FormattingSubstitution
- All Implemented Interfaces:
- org.apache.oro.text.regex.Substitution
- public class FormattingSubstitution
- 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 |
|
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 |
postfixpattern
private static final java.lang.String postfixpattern
- See Also:
- Constant Field Values
validcharpattern
private static final java.lang.String validcharpattern
- See Also:
- Constant Field Values
prefixpattern
private static final java.lang.String prefixpattern
- See Also:
- Constant Field Values
TYPE_STRONG
public static final int TYPE_STRONG
- See Also:
- Constant Field Values
TYPE_ITALIC
public static final int TYPE_ITALIC
- See Also:
- Constant Field Values
TYPE_STRONGITALIC
public static final int TYPE_STRONGITALIC
- See Also:
- Constant Field Values
TYPE_FIXED
public static final int TYPE_FIXED
- See Also:
- Constant Field Values
TYPE_BOLDFIXED
public static final int TYPE_BOLDFIXED
- See Also:
- Constant Field Values
type
private int type
FormattingSubstitution
public FormattingSubstitution(Util util,
int type)
makePattern
public java.lang.String makePattern(java.lang.String patternparam)
- Overrides:
makePattern
in class WikiSubstitution
makeUnbreakingSpace
public java.lang.String makeUnbreakingSpace(java.lang.String text)
prepareSubstitution
public void prepareSubstitution(org.apache.oro.text.regex.MatchResult matchResult)
- Overrides:
prepareSubstitution
in class WikiSubstitution
substitute
public static java.lang.String substitute(Util util,
int type,
java.lang.String line)
getType
public int getType()
setType
public void setType(int type)
Copyright 2003 Ludovic Dubost