org.apache.uima.annotator.regex
Interface RegexVariables

All Known Implementing Classes:
RegexVariables_impl

public interface RegexVariables

RegexVariables interface.


Field Summary
static java.lang.String VARIABLE_REGEX_BEGIN
           
static java.lang.String VARIABLE_REGEX_END
           
static java.util.regex.Pattern VARIABLE_REGEX_PATTERN
           
static java.lang.String VARIABLE_START
           
 
Method Summary
 void addVariable(java.lang.String varName, java.lang.String varValue)
          Adds a variable to the Variables object.
 java.lang.String getVariableValue(java.lang.String varName)
          returns the value of the specified variable or null if the variable does not exist
 

Field Detail

VARIABLE_START

static final java.lang.String VARIABLE_START
See Also:
Constant Field Values

VARIABLE_REGEX_BEGIN

static final java.lang.String VARIABLE_REGEX_BEGIN
See Also:
Constant Field Values

VARIABLE_REGEX_END

static final java.lang.String VARIABLE_REGEX_END
See Also:
Constant Field Values

VARIABLE_REGEX_PATTERN

static final java.util.regex.Pattern VARIABLE_REGEX_PATTERN
Method Detail

addVariable

void addVariable(java.lang.String varName,
                 java.lang.String varValue)
Adds a variable to the Variables object.

Parameters:
varName - variable name
varValue - variable value

getVariableValue

java.lang.String getVariableValue(java.lang.String varName)
returns the value of the specified variable or null if the variable does not exist

Parameters:
varName - variable name
Returns:
returns the variable value of null if the variable does not exist


Copyright © 2011. All Rights Reserved.