static class TokenStreamRewriteEngine.RewriteOperation extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
index |
protected String |
text |
Modifier | Constructor and Description |
---|---|
protected |
RewriteOperation(int index,
String text) |
Modifier and Type | Method and Description |
---|---|
int |
execute(StringBuffer buf)
Execute the rewrite operation by possibly adding to the buffer.
|
String |
toString() |
protected int index
protected String text
protected RewriteOperation(int index, String text)
public int execute(StringBuffer buf)