Interface CpeCollectionReader
-
- All Superinterfaces:
java.lang.Cloneable,MetaDataObject,java.io.Serializable,XMLizable
- All Known Implementing Classes:
CpeCollectionReaderImpl
public interface CpeCollectionReader extends MetaDataObject
An object that holds configuration that is part of the CPE descriptor. Provides the means of configuring CPE CollectionReader.
-
-
Method Summary
-
Methods 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 Detail
-
setCasInitializer
@Deprecated 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
-
getCasInitializer
@Deprecated CpeCollectionReaderCasInitializer getCasInitializer() throws CpeDescriptorException
Deprecated.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
-
removeCasInitializer
void removeCasInitializer()
RemovesCpeCollectionReaderCasInitializerfrom CollectionReader
-
setDescriptor
void setDescriptor(CpeComponentDescriptor aDescriptor)
Sets descriptor path containing configuration for the CollectionReader- Parameters:
aDescriptor- - component containing descriptor path
-
getDescriptor
CpeComponentDescriptor getDescriptor()
ReturnsCpeComponentDescriptorcontaining CollectionReader descriptor path.- Returns:
- component containing descriptor path
-
getConfigurationParameterSettings
CasProcessorConfigurationParameterSettings getConfigurationParameterSettings()
ReturnsCasProcessorConfigurationParameterSettingsobject containing overrides to parameter settings for this CollectionReader.- Returns:
- - object containing parameter setting overrides
-
setConfigurationParameterSettings
void setConfigurationParameterSettings(CasProcessorConfigurationParameterSettings aSettings) throws CpeDescriptorException
Sets theCasProcessorConfigurationParameterSettingsobject containing overrides to parameter settings for this CollectionReader.- Parameters:
aSettings- object containing parameter setting overrides- Throws:
CpeDescriptorException- tbd
-
setCollectionIterator
void setCollectionIterator(CpeCollectionReaderIterator iterator)
-
getCollectionIterator
CpeCollectionReaderIterator getCollectionIterator()
-
-