Class CpeCollectionReaderImpl
- java.lang.Object
-
- org.apache.uima.resource.metadata.impl.MetaDataObject_impl
-
- org.apache.uima.collection.impl.metadata.cpe.CpeCollectionReaderImpl
-
- All Implemented Interfaces:
Serializable
,Cloneable
,CpeCollectionReader
,MetaDataObject
,XMLizable
public class CpeCollectionReaderImpl extends MetaDataObject_impl implements CpeCollectionReader
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl
MetaDataObject_impl.MetaDataAttr, MetaDataObject_impl.SerialContext, MetaDataObject_impl.Serializer
-
-
Field Summary
-
Fields inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl
serialContext
-
-
Constructor Summary
Constructors Constructor Description CpeCollectionReaderImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CpeCollectionReaderCasInitializer
getCasInitializer()
Returns CasInitializer associated with CollectionReader.CpeCollectionReaderIterator
getCollectionIterator()
CasProcessorConfigurationParameterSettings
getConfigurationParameterSettings()
Returns configuration parameter settings for this CollectionReader.CpeComponentDescriptor
getDescriptor()
ReturnsCpeComponentDescriptor
containing CollectionReader descriptor path.protected XmlizationInfo
getXmlizationInfo()
To be implemented by subclasses to return information describing how to represent this object in XML.void
removeCasInitializer()
RemovesCpeCollectionReaderCasInitializer
from CollectionReadervoid
setCasInitializer(CpeCollectionReaderCasInitializer aCasInitializer)
Sets CasInitializer for the CollectionReader will use.void
setCollectionIterator(CpeCollectionReaderIterator iterator)
void
setConfigurationParameterSettings(CasProcessorConfigurationParameterSettings aParams)
Sets configuration parameter settings for this CollectionReader.void
setDescriptor(CpeComponentDescriptor aDescriptor)
Sets descriptor path containing configuration for the CollectionReader-
Methods inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl
buildFromXMLElement, buildFromXMLElement, clone, equals, getAdditionalAttributes, getAttributeClass, getAttributeValue, getInfoset, getMatchingNode, getPropertyDescriptors, getPropertyXmlInfo, getRelativePathBase, getSerialContext, getSourceUrl, getSourceUrlString, getWrapperClass, getXMLAttributes, hashCode, isModifiable, listAttributes, readArrayPropertyValueFromXMLElement, readMapPropertyFromXml, readPropertyValueFromXMLElement, readUnknownPropertyValueFromXMLElement, resolveSettings, setAttributeValue, setInfoset, setSourceUrl, setSourceUrlIfNull, toString, toXML, toXML, toXML, toXML, valueIsNullOrEmptyArray, writeArrayPropertyAsElement, writeMapPropertyToXml, writePropertyAsElement
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
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
public void setCasInitializer(CpeCollectionReaderCasInitializer aCasInitializer) throws CpeDescriptorException
Description copied from interface:CpeCollectionReader
Sets CasInitializer for the CollectionReader will use. This object initializes the CAS with SoFas.- Specified by:
setCasInitializer
in interfaceCpeCollectionReader
- Parameters:
aCasInitializer
- -CpeCollectionReaderCasInitializer
- Throws:
CpeDescriptorException
- tbd
-
getCasInitializer
public CpeCollectionReaderCasInitializer getCasInitializer() throws CpeDescriptorException
Description copied from interface:CpeCollectionReader
Returns CasInitializer associated with CollectionReader. This object initializes the CAS with SoFas.- Specified by:
getCasInitializer
in interfaceCpeCollectionReader
- Returns:
CpeCollectionReaderCasInitializer
- Throws:
CpeDescriptorException
- tbd
-
removeCasInitializer
public void removeCasInitializer()
Description copied from interface:CpeCollectionReader
RemovesCpeCollectionReaderCasInitializer
from CollectionReader- Specified by:
removeCasInitializer
in interfaceCpeCollectionReader
-
setDescriptor
public void setDescriptor(CpeComponentDescriptor aDescriptor)
Description copied from interface:CpeCollectionReader
Sets descriptor path containing configuration for the CollectionReader- Specified by:
setDescriptor
in interfaceCpeCollectionReader
- Parameters:
aDescriptor
- - component containing descriptor path
-
getDescriptor
public CpeComponentDescriptor getDescriptor()
Description copied from interface:CpeCollectionReader
ReturnsCpeComponentDescriptor
containing CollectionReader descriptor path.- Specified by:
getDescriptor
in interfaceCpeCollectionReader
- Returns:
- component containing descriptor path
-
getConfigurationParameterSettings
public CasProcessorConfigurationParameterSettings getConfigurationParameterSettings()
Returns configuration parameter settings for this CollectionReader.- Specified by:
getConfigurationParameterSettings
in interfaceCpeCollectionReader
- Returns:
- - object containing parameter setting overrides
-
setConfigurationParameterSettings
public void setConfigurationParameterSettings(CasProcessorConfigurationParameterSettings aParams) throws CpeDescriptorException
Sets configuration parameter settings for this CollectionReader.- Specified by:
setConfigurationParameterSettings
in interfaceCpeCollectionReader
- Parameters:
aParams
- object containing parameter setting overrides- Throws:
CpeDescriptorException
- tbd
-
getXmlizationInfo
protected XmlizationInfo getXmlizationInfo()
Description copied from class:MetaDataObject_impl
To be implemented by subclasses to return information describing how to represent this object in XML.- Specified by:
getXmlizationInfo
in classMetaDataObject_impl
- Returns:
- information defining this object's XML representation
-
setCollectionIterator
public void setCollectionIterator(CpeCollectionReaderIterator iterator)
- Specified by:
setCollectionIterator
in interfaceCpeCollectionReader
- Parameters:
iterator
-
-
getCollectionIterator
public CpeCollectionReaderIterator getCollectionIterator()
- Specified by:
getCollectionIterator
in interfaceCpeCollectionReader
-
-