public class CollectionReaderDescription_impl extends ResourceCreationSpecifier_impl implements CollectionReaderDescription
MetaDataObject_impl.MetaDataAttr, MetaDataObject_impl.SerialContext, MetaDataObject_impl.Serializer
serialContext
Constructor and Description |
---|
CollectionReaderDescription_impl()
Creates a new ProcessingResourceMetaData_impl.
|
Modifier and Type | Method and Description |
---|---|
void |
buildFromXMLElement(Element aElement,
XMLParser aParser,
XMLParser.ParsingOptions aOptions)
Overridden to set default operational properties if they are not specified in descriptor.
|
void |
doFullValidation(ResourceManager aResourceManager)
Does full validation of this
ResourceCreationSpecifier . |
ProcessingResourceMetaData |
getCollectionReaderMetaData()
Retrieves the metadata that describes the CollectionReader.
|
protected XmlizationInfo |
getXmlizationInfo()
To be implemented by subclasses to return information describing how to represent this object
in XML.
|
checkForDuplicateParameterNames, checkForInvalidParameterOverrides, doFullValidation, getExternalResourceDependencies, getExternalResourceDependency, getFrameworkImplementation, getImplementationName, getMetaData, getResourceManagerConfiguration, setExternalResourceDependencies, setFrameworkImplementation, setImplementationName, setMetaData, setResourceManagerConfiguration, validate, validate, validateConfigurationParameters
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
finalize, getClass, notify, notifyAll, wait, wait, wait
doFullValidation, getExternalResourceDependencies, getExternalResourceDependency, getFrameworkImplementation, getImplementationName, getMetaData, getResourceManagerConfiguration, setExternalResourceDependencies, setFrameworkImplementation, setImplementationName, setMetaData, setResourceManagerConfiguration, validate, validate
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl
public CollectionReaderDescription_impl()
public ProcessingResourceMetaData getCollectionReaderMetaData()
CollectionReaderDescription
getCollectionReaderMetaData
in interface CollectionReaderDescription
ResourceMetaData
object containing the CollectionReader's metadata.
This object can be modified.public void doFullValidation(ResourceManager aResourceManager) throws ResourceInitializationException
ResourceCreationSpecifier
ResourceCreationSpecifier
.
This essentially performs all operations necessary to
instantiate a Resource except that it does not actually instantiate the implementation class.
If appropriate, this method will also attempt to create a CAS based on the descriptor, in order
to do full type system verification. If any operations fail, an exception will be thrown.doFullValidation
in interface ResourceCreationSpecifier
doFullValidation
in class ResourceCreationSpecifier_impl
aResourceManager
- a ResourceManager instance to use to load annotator classes, external resource
classes, and resolve imports by name.ResourceInitializationException
- if validation failedpublic void buildFromXMLElement(Element aElement, XMLParser aParser, XMLParser.ParsingOptions aOptions) throws InvalidXMLException
buildFromXMLElement
in interface XMLizable
buildFromXMLElement
in class MetaDataObject_impl
aElement
- the XML element that represents this object.aParser
- a reference to the UIMA XMLParser
. The
XMLParser.buildObject(Element)
method can be used to construct sub-objects.aOptions
- option settingsInvalidXMLException
- if the input XML element does not specify a valid objectprotected XmlizationInfo getXmlizationInfo()
MetaDataObject_impl
getXmlizationInfo
in class ResourceCreationSpecifier_impl
Copyright © 2006–2021 The Apache Software Foundation. All rights reserved.