-
public interface VariablesSubstitutionAware<T extends Object>
VariablesSubstitutionAware provides interface for variables substitution.
It is supposed that T implements
VariablesSubstitutionAware<T>
If implementors don't have variables to be replaced, they may return
this
. Non-trivial implementations are supposed for classes representing text code snippets.
-
-
Method Summary
Modifier and Type Method Description abstract T
replaceVariables(Map<String, String> mapping)
Replace variables and return the result. -
-
Method Detail
-
replaceVariables
abstract T replaceVariables(Map<String, String> mapping)
Replace variables and return the result.
- Parameters:
mapping
- maps variables names to their values
-
-
-
-