public class MaximoMacroTransformer extends java.lang.Object implements ToStringVisitor.Transformer
Constructor and Description |
---|
MaximoMacroTransformer(java.lang.String macroName,
java.lang.String macroValue) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMacroName() |
java.lang.String |
getMacroValue() |
java.lang.String |
transform(Node n)
If this returns a NON NULL value, then this value will replace the
Node's .value value, when writing it into the String.
|
public MaximoMacroTransformer(java.lang.String macroName, java.lang.String macroValue)
public java.lang.String transform(Node n)
ToStringVisitor.Transformer
transform
in interface ToStringVisitor.Transformer
n
- Node being transformedpublic java.lang.String getMacroName()
public java.lang.String getMacroValue()