anl.aida.util
Class UIMAParameterSettings

java.lang.Object
  extended by 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.


Nested Class Summary
private static class UIMAParameterSettings.NameValuePairImpl
           
 
Field Summary
private  java.util.List<org.apache.uima.collection.metadata.NameValuePair> pairs
           
 
Constructor Summary
UIMAParameterSettings()
           
 
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
 

Field Detail

pairs

private java.util.List<org.apache.uima.collection.metadata.NameValuePair> pairs
Constructor Detail

UIMAParameterSettings

public UIMAParameterSettings()
Method Detail

addPair

public void addPair(java.lang.String name,
                    java.lang.Object value)
Adds the name value pair to this UIMAParameterSettings.

Parameters:
name - the pair name
value - 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