|
Structured Text Toolkit | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.saelist.stx.operators.AbstractOperator
com.saelist.stx.operators.ReplaceOperator
See Operator for general description of the Operator
concept in stx. ReplaceOperator performs a regular expression replacement
on each pair it visits.
| Field Summary |
| Fields inherited from class com.saelist.stx.operators.AbstractOperator |
config, logger |
| Constructor Summary | |
ReplaceOperator()
|
|
| Method Summary | |
void |
init()
Caches the pattern and replacement settings in variables. |
void |
operate(Pair pair)
Performs the replacement operation on the given pair. |
| Methods inherited from class com.saelist.stx.operators.AbstractOperator |
init, visit |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ReplaceOperator()
| Method Detail |
public void init()
init in class AbstractOperatorpublic void operate(Pair pair)
operate in interface Operatoroperate in class AbstractOperatorjava.lang.IllegalStateException - if this hasn't been initialized.
|
Structured Text Toolkit | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||