Interface CpeCollectionReader
- All Superinterfaces:
Cloneable
,MetaDataObject
,Serializable
,XMLizable
- All Known Implementing Classes:
CpeCollectionReaderImpl
An object that holds configuration that is part of the CPE descriptor. Provides the means of
configuring CPE CollectionReader.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.As of v2.0 CAS Initializers are deprecated.ReturnsCasProcessorConfigurationParameterSettings
object containing overrides to parameter settings for this CollectionReader.ReturnsCpeComponentDescriptor
containing CollectionReader descriptor path.void
Deprecated.CasInitializer is deprecatedvoid
setCasInitializer
(CpeCollectionReaderCasInitializer aCasInitializer) Deprecated.As of v2.0 CAS Initializers are deprecated.void
void
Sets theCasProcessorConfigurationParameterSettings
object containing overrides to parameter settings for this CollectionReader.void
setDescriptor
(CpeComponentDescriptor aDescriptor) Sets descriptor path containing configuration for the CollectionReaderMethods inherited from interface org.apache.uima.resource.metadata.MetaDataObject
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl
Methods inherited from interface org.apache.uima.util.XMLizable
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML
-
Method Details
-
setCasInitializer
@Deprecated(since="2.0.0") void setCasInitializer(CpeCollectionReaderCasInitializer aCasInitializer) throws CpeDescriptorException Deprecated.As of v2.0 CAS Initializers are deprecated.Sets CasInitializer for the CollectionReader will use. This object initializes the CAS with SoFas.- Parameters:
aCasInitializer
- -CpeCollectionReaderCasInitializer
- Throws:
CpeDescriptorException
- tbd- To be removed in version:
- 4.0.0
-
getCasInitializer
@Deprecated(since="2.0.0") CpeCollectionReaderCasInitializer getCasInitializer() throws CpeDescriptorExceptionDeprecated.As of v2.0 CAS Initializers are deprecated.Returns CasInitializer associated with CollectionReader. This object initializes the CAS with SoFas.- Returns:
CpeCollectionReaderCasInitializer
- Throws:
CpeDescriptorException
- tbd- To be removed in version:
- 4.0.0
-
removeCasInitializer
Deprecated.CasInitializer is deprecatedRemovesCpeCollectionReaderCasInitializer
from CollectionReader- To be removed in version:
- 4.0.0
-
setDescriptor
Sets descriptor path containing configuration for the CollectionReader- Parameters:
aDescriptor
- - component containing descriptor path
-
getDescriptor
CpeComponentDescriptor getDescriptor()ReturnsCpeComponentDescriptor
containing CollectionReader descriptor path.- Returns:
- component containing descriptor path
-
getConfigurationParameterSettings
CasProcessorConfigurationParameterSettings getConfigurationParameterSettings()ReturnsCasProcessorConfigurationParameterSettings
object containing overrides to parameter settings for this CollectionReader.- Returns:
- - object containing parameter setting overrides
-
setConfigurationParameterSettings
void setConfigurationParameterSettings(CasProcessorConfigurationParameterSettings aSettings) throws CpeDescriptorException Sets theCasProcessorConfigurationParameterSettings
object containing overrides to parameter settings for this CollectionReader.- Parameters:
aSettings
- object containing parameter setting overrides- Throws:
CpeDescriptorException
- tbd
-
setCollectionIterator
-
getCollectionIterator
CpeCollectionReaderIterator getCollectionIterator()
-