de.unihd.dbs.uima.annotator.heideltime
public class ProcessorManager extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ProcessorManager.Priority |
Modifier and Type | Method and Description |
---|---|
void |
executeProcessors(org.apache.uima.jcas.JCas jcas,
ProcessorManager.Priority prio)
Based on reflection, this method instantiates and executes all of the
registered Processors.
|
static ProcessorManager |
getInstance()
getInstance method of the singleton pattern
|
void |
initializeAllProcessors(org.apache.uima.UimaContext aContext)
Based on reflection, this method instantiates and initializes all of the
registered Processors.
|
void |
registerProcessor(java.lang.String processor)
method to register a processor without priority
|
void |
registerProcessor(java.lang.String processor,
ProcessorManager.Priority prio)
method to register a processor
|
public void registerProcessor(java.lang.String processor, ProcessorManager.Priority prio)
processor
- processor to be registered in the processormanager's listp
- priority for the process to takepublic void registerProcessor(java.lang.String processor)
processor
- processor to be registered in the processormanager's listpublic void initializeAllProcessors(org.apache.uima.UimaContext aContext)
jcas
- public void executeProcessors(org.apache.uima.jcas.JCas jcas, ProcessorManager.Priority prio)
jcas
- public static ProcessorManager getInstance()