anl.aida.util
Class UIMAParameterSettings
java.lang.Object
anl.aida.util.UIMAParameterSettings
- All Implemented Interfaces:
- org.apache.uima.collection.metadata.CasProcessorConfigurationParameterSettings
public class UIMAParameterSettings
- extends java.lang.Object
- implements org.apache.uima.collection.metadata.CasProcessorConfigurationParameterSettings
A Settings class that can be used to override the default settings
in a UIMA processor.
Field Summary |
private java.util.List<org.apache.uima.collection.metadata.NameValuePair> |
pairs
|
Method Summary |
void |
addPair(java.lang.String name,
java.lang.Object value)
Adds the name value pair to this UIMAParameterSettings. |
org.apache.uima.collection.metadata.NameValuePair[] |
getParameterSettings()
|
java.lang.Object |
getParameterValue(java.lang.String name)
|
void |
setParameterValue(java.lang.String name,
java.lang.Object value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pairs
private java.util.List<org.apache.uima.collection.metadata.NameValuePair> pairs
UIMAParameterSettings
public UIMAParameterSettings()
addPair
public void addPair(java.lang.String name,
java.lang.Object value)
- Adds the name value pair to this UIMAParameterSettings.
- Parameters:
name
- the pair namevalue
- the pair value
getParameterSettings
public org.apache.uima.collection.metadata.NameValuePair[] getParameterSettings()
- Specified by:
getParameterSettings
in interface org.apache.uima.collection.metadata.CasProcessorConfigurationParameterSettings
getParameterValue
public java.lang.Object getParameterValue(java.lang.String name)
- Specified by:
getParameterValue
in interface org.apache.uima.collection.metadata.CasProcessorConfigurationParameterSettings
setParameterValue
public void setParameterValue(java.lang.String name,
java.lang.Object value)
- Specified by:
setParameterValue
in interface org.apache.uima.collection.metadata.CasProcessorConfigurationParameterSettings