public class KeywordVariables extends Object implements Variables
| Constructor and Description |
|---|
KeywordVariables(String keyword,
Object object)
Create a new KeywordVariables.
|
| Modifier and Type | Method and Description |
|---|---|
void |
declareVariable(String variable,
Object value)
Defines a new variable with the specified value or modifies
the value of an existing variable.
|
Object |
getVariable(String variable)
Returns the value of the specified variable.
|
boolean |
isDeclaredVariable(String variable)
Returns true if the specified variable is declared.
|
void |
undeclareVariable(String variable)
Removes an existing variable.
|
public boolean isDeclaredVariable(String variable)
VariablesisDeclaredVariable in interface Variablesvariable - variable namepublic Object getVariable(String variable)
VariablesgetVariable in interface Variablesvariable - variable namepublic void declareVariable(String variable, Object value)
VariablesdeclareVariable in interface Variablesvariable - variable namevalue - to declarepublic void undeclareVariable(String variable)
VariablesundeclareVariable in interface Variablesvariable - is a variable name without the "$" signCopyright © 2001–2015 The Apache Software Foundation. All rights reserved.