|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.raritantechnologies.uima.UIMACPEOutputProcessor
Feeds a UIMA Collection Processing Engine from a series of RTI IResultSets.
Uses a configurable IUIMAResultProcessor as the UIMA CasConsumer.
<GatewayOutputProcessor class="com.raritantechnologies.uima.UIMACPEOutputProcessor"
analysisEngineFile="[ configuration File for UIMA Analysis Engine ]"
resultKeyField="[ result field that has unique key ]"
textFields="[ comma separated list of fields with text data ]"
documentFields="[ fields with document URLs ]" >
<!-- One or more ResultProcessor elements to handle dispatching of Annotated results -->
<ResultProcessor class="[ class of com.raritantechnologies.uima.IUIMAResultProcessor ]" >
<!-- configuration parameters for result processor... -->
</ResultProcessor>
<!-- etc. . . -->
</GatewayOutputProcessor>
The following diagram shows the basic design of the UIMACPEOutputProcessor:

| Constructor Summary | |
UIMACPEOutputProcessor()
|
|
| Method Summary | |
void |
dataComplete()
Data feed is complete: Signal the IUIMAResultProcessors to execute their dataComplete( ) methods. |
CollectionProcessingManager |
getCollectionProcessingManager()
|
java.lang.String |
getConfigurationXML()
|
void |
initialize(org.w3c.dom.Element outputProcElem,
ISearchFieldMap sfMap)
Initialize the GatewayOutputProcessor from XML Element. |
void |
initialize(java.util.Map initParams)
Used for dynamic initialization (connection, collection name, file name, etc.) |
java.lang.String |
processData(IResultSet data)
Process an RTI IResultSet by reading the data into the UIMA processing engine. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UIMACPEOutputProcessor()
| Method Detail |
public java.lang.String processData(IResultSet data)
processData in interface IGatewayOutputProcessorpublic void dataComplete()
dataComplete in interface IGatewayOutputProcessorpublic void initialize(java.util.Map initParams)
IGatewayOutputProcessor
initialize in interface IGatewayOutputProcessor
public void initialize(org.w3c.dom.Element outputProcElem,
ISearchFieldMap sfMap)
initialize in interface IGatewayOutputProcessorpublic java.lang.String getConfigurationXML()
getConfigurationXML in interface IGatewayOutputProcessorpublic CollectionProcessingManager getCollectionProcessingManager()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||