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
The Class CpeCollectionReaderImpl.
- See Also:
-
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
-
Method Summary
Modifier and TypeMethodDescriptionReturns CasInitializer associated with CollectionReader.Returns configuration parameter settings for this CollectionReader.ReturnsCpeComponentDescriptor
containing CollectionReader descriptor path.protected XmlizationInfo
To be implemented by subclasses to return information describing how to represent this object in XML.void
RemovesCpeCollectionReaderCasInitializer
from CollectionReadervoid
setCasInitializer
(CpeCollectionReaderCasInitializer aCasInitializer) Sets CasInitializer for the CollectionReader will use.void
Sets the collection iterator.void
Sets configuration parameter settings for this CollectionReader.void
setDescriptor
(CpeComponentDescriptor aDescriptor) Sets descriptor path containing configuration for the CollectionReaderMethods 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
-
Constructor Details
-
CpeCollectionReaderImpl
public CpeCollectionReaderImpl()Instantiates a new cpe collection reader impl.
-
-
Method Details
-
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
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
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
Description copied from interface:CpeCollectionReader
ReturnsCpeComponentDescriptor
containing CollectionReader descriptor path.- Specified by:
getDescriptor
in interfaceCpeCollectionReader
- Returns:
- component containing descriptor path
-
getConfigurationParameterSettings
Returns configuration parameter settings for this CollectionReader.- Specified by:
getConfigurationParameterSettings
in interfaceCpeCollectionReader
- Returns:
- the configuration parameter settings
-
setConfigurationParameterSettings
public void setConfigurationParameterSettings(CasProcessorConfigurationParameterSettings aParams) throws CpeDescriptorException Sets configuration parameter settings for this CollectionReader.- Specified by:
setConfigurationParameterSettings
in interfaceCpeCollectionReader
- Parameters:
aParams
- the new configuration parameter settings- Throws:
CpeDescriptorException
- the cpe descriptor exception
-
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
Sets the collection iterator.- Specified by:
setCollectionIterator
in interfaceCpeCollectionReader
- Parameters:
iterator
- the new collection iterator
-
getCollectionIterator
- Specified by:
getCollectionIterator
in interfaceCpeCollectionReader
-