| Overview | Package | Class | Tree | Deprecated | Index | Help | |||
| PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||
java.lang.Object | +--COM.stevesoft.pat.ReplaceRule
| Field Summary | |
| ReplaceRule | next
points to the next ReplaceRule in the linked list. |
| Constructor Summary | |
| ReplaceRule()
|
|
| Method Summary | |
| ReplaceRule | add(ReplaceRule adding)
|
| void | addRule(ReplaceRule r)
Add another ReplaceRule to the linked list. |
| void | apply(java.lang.StringBuffer sb,
RegRes r)
This function appends to the StringBuffer the text you want to replaced the portion of the String last matched. |
| ReplaceRule | arg(java.lang.String s)
Modified the behavior of a ReplaceRule by supplying an argument. |
| java.lang.Object | clone1()
A rule describing how to clone only the current ReplaceRule, and none of the others in this linked list. |
| java.lang.Object | clone()
|
| static void | define(java.lang.String s,
Regex r)
|
| static void | define(java.lang.String s,
ReplaceRule r)
|
| static void | define(java.lang.String s,
Transformer t)
|
| static boolean | isDefined(java.lang.String s)
|
| static ReplaceRule | perlCode(java.lang.String s)
Compile a ReplaceRule using the text that would go between the second and third /'s in a typical substitution pattern in Perl: s/ ... |
| java.lang.String | toString1()
This tells how to convert just the current element (and none of the other items in the linked list) to a String. |
| java.lang.String | toString()
Convert to a String. |
| static void | undefine(java.lang.String s)
|
| Methods inherited from class java.lang.Object | |
| clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait | |
| Field Detail |
protected ReplaceRule next
| Constructor Detail |
public ReplaceRule()
| Method Detail |
public void apply(java.lang.StringBuffer sb,
RegRes r)
public java.lang.Object clone1()
public final java.lang.Object clone()
public ReplaceRule add(ReplaceRule adding)
public void addRule(ReplaceRule r)
public static ReplaceRule perlCode(java.lang.String s)
public static boolean isDefined(java.lang.String s)
public static void define(java.lang.String s,
Regex r)
public static void define(java.lang.String s,
ReplaceRule r)
public static void define(java.lang.String s,
Transformer t)
public static void undefine(java.lang.String s)
public java.lang.String toString1()
public final java.lang.String toString()
public ReplaceRule arg(java.lang.String s)
| Overview | Package | Class | Tree | Deprecated | Index | Help | |||
| PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||