org.apache.uima.annotator.regex.impl
Class RegexVariables_impl

java.lang.Object
  extended by org.apache.uima.annotator.regex.impl.RegexVariables_impl
All Implemented Interfaces:
RegexVariables

public class RegexVariables_impl
extends java.lang.Object
implements RegexVariables

Implementation of the RegexVariables interface


Field Summary
 
Fields inherited from interface org.apache.uima.annotator.regex.RegexVariables
VARIABLE_REGEX_BEGIN, VARIABLE_REGEX_END, VARIABLE_REGEX_PATTERN, VARIABLE_START
 
Constructor Summary
RegexVariables_impl()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegexVariables_impl

public RegexVariables_impl()
Method Detail

addVariable

public void addVariable(java.lang.String varName,
                        java.lang.String varValue)
Description copied from interface: RegexVariables
Adds a variable to the Variables object.

Specified by:
addVariable in interface RegexVariables
Parameters:
varName - variable name
varValue - variable value

getVariableValue

public java.lang.String getVariableValue(java.lang.String varName)
Description copied from interface: RegexVariables
returns the value of the specified variable or null if the variable does not exist

Specified by:
getVariableValue in interface RegexVariables
Parameters:
varName - variable name
Returns:
returns the variable value of null if the variable does not exist


Copyright © 2011. All Rights Reserved.