public interface SpecialVariableProcessor
Modifier and Type | Method and Description |
---|---|
Value |
getVariable(java.lang.String varName,
PreprocessorContext context)
Get the value for the variable
|
java.lang.String[] |
getVariableNames()
Get all variable names allowed by the processor as an array, all names must
be in lower case
|
void |
setVariable(java.lang.String varName,
Value value,
PreprocessorContext context)
Set a value to the variable
|
java.lang.String[] getVariableNames()
Value getVariable(java.lang.String varName, PreprocessorContext context)
varName
- the variable name, must not be nullcontext
- the preprocessor context, it can be nullvoid setVariable(java.lang.String varName, Value value, PreprocessorContext context)
varName
- the variable name, must not be nullvalue
- the value to be set to the variable, must not be nullcontext
- the preprocessor context, it can be null