public class ChangeRule extends SpecialRule
next
Constructor and Description |
---|
ChangeRule(ChangeRule c) |
ChangeRule(String nm,
Regex rr) |
ChangeRule(String nm,
Transformer tr) |
Modifier and Type | Method and Description |
---|---|
void |
apply(StringBufferLike sb,
RegRes rr)
This function appends to the StringBufferLike the text you want
to replaced the portion of the String last matched.
|
Object |
clone1()
A rule describing how to clone only the current ReplaceRule,
and none of the others in this linked list.
|
String |
toString1()
This tells how to convert just the current element (and none
of the other items in the linked list) to a String.
|
public ChangeRule(ChangeRule c)
public ChangeRule(String nm, Transformer tr)
public Object clone1()
ReplaceRule
clone1
in class ReplaceRule
public String toString1()
ReplaceRule
toString1
in class ReplaceRule
public void apply(StringBufferLike sb, RegRes rr)
ReplaceRule
apply
in class SpecialRule