Interface CasDataProcessor
- All Superinterfaces:
CasProcessor
- All Known Subinterfaces:
CasDataConsumer
- All Known Implementing Classes:
CasDataConsumer_ImplBase
Interface for CAS processors that want to interact directly with the
CasData. This works
best for simple processors that do not need the indexing or strong typing features provided by
the CAS container.-
Method Summary
Methods inherited from interface org.apache.uima.collection.base_cpm.CasProcessor
batchProcessComplete, collectionProcessComplete, getProcessingResourceMetaData, isReadOnly, isStateless
-
Method Details
-
process
Process a single CasData.- Parameters:
aCAS- the input CasData- Returns:
- the output CasData (if this CAS processor is
read-only, this will always be equivalent toaCAS. - Throws:
ResourceProcessException- if processing fails
-
process
Process multiple CasData objects.- Parameters:
aCASes- the input CasData objects- Returns:
- the output CasData objects (if this CAS processor is
read-only, these will always be equivalent toaCASes. - Throws:
ResourceProcessException- if processing fails
-