public class ScriptVariableReplacerImpl extends Object implements ScriptVariableReplacer
 A ScriptVariableReplacer implementation.
 
| Constructor and Description | 
|---|
ScriptVariableReplacerImpl()
 Creates a replacer. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Script | 
replaceScriptVariables(Script script,
                      Replacements replacements,
                      Context context)
 Replaces the variables within the script. 
 | 
public ScriptVariableReplacerImpl()
Creates a replacer.
public Script replaceScriptVariables(Script script, Replacements replacements, Context context) throws ReplacementException
ScriptVariableReplacerReplaces the variables within the script.
replaceScriptVariables in interface ScriptVariableReplacerscript - The script containing the variables.replacements - The replacements.context - The context.ReplacementException - If an error occurs during the replacement.Copyright © 2015–2019. All rights reserved.