public class RegexVariables_impl extends Object implements RegexVariables
VARIABLE_REGEX_BEGIN, VARIABLE_REGEX_END, VARIABLE_REGEX_PATTERN, VARIABLE_START
Constructor and Description |
---|
RegexVariables_impl() |
Modifier and Type | Method and Description |
---|---|
void |
addVariable(String varName,
String varValue)
Adds a variable to the Variables object.
|
String |
getVariableValue(String varName)
returns the value of the specified variable or
null if the
variable does not exist |
public void addVariable(String varName, String varValue)
RegexVariables
addVariable
in interface RegexVariables
varName
- variable namevarValue
- variable valuepublic String getVariableValue(String varName)
RegexVariables
null
if the
variable does not existgetVariableValue
in interface RegexVariables
varName
- variable namenull
if the variable
does not existCopyright © 2006–2018 The Apache Software Foundation. All rights reserved.