|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CasDataProcessor
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 | |
---|---|
CasData |
process(CasData aCAS)
Process a single CasData. |
CasData[] |
process(CasData[] aCASes)
Process multiple CasData objects. |
Methods inherited from interface org.apache.uima.collection.base_cpm.CasProcessor |
---|
batchProcessComplete, collectionProcessComplete, getProcessingResourceMetaData, isReadOnly, isStateless |
Method Detail |
---|
CasData process(CasData aCAS) throws ResourceProcessException
aCAS
- the input CasData
read-only
, this
will always be equivalent to aCAS
.
ResourceProcessException
- if processing failsCasData[] process(CasData[] aCASes) throws ResourceProcessException
aCASes
- the input CasData objects
read-only
,
these will always be equivalent to aCASes
.
ResourceProcessException
- if processing fails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |