public class CollectionReaderDescription_impl extends ResourceCreationSpecifier_impl implements CollectionReaderDescription
MetaDataObject_impl.MetaDataAttr, MetaDataObject_impl.SerialContext, MetaDataObject_impl.SerializerserialContext| 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, validateConfigurationParametersbuildFromXMLElement, 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, writePropertyAsElementfinalize, getClass, notify, notifyAll, wait, wait, waitdoFullValidation, getExternalResourceDependencies, getExternalResourceDependency, getFrameworkImplementation, getImplementationName, getMetaData, getResourceManagerConfiguration, setExternalResourceDependencies, setFrameworkImplementation, setImplementationName, setMetaData, setResourceManagerConfiguration, validate, validateclone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrlpublic CollectionReaderDescription_impl()
public ProcessingResourceMetaData getCollectionReaderMetaData()
CollectionReaderDescriptiongetCollectionReaderMetaData in interface CollectionReaderDescriptionResourceMetaData object containing the CollectionReader's metadata.
This object can be modified.public void doFullValidation(ResourceManager aResourceManager) throws ResourceInitializationException
ResourceCreationSpecifierResourceCreationSpecifier.
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 ResourceCreationSpecifierdoFullValidation in class ResourceCreationSpecifier_implaResourceManager - 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 XMLizablebuildFromXMLElement in class MetaDataObject_implaElement - 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_implgetXmlizationInfo in class ResourceCreationSpecifier_implCopyright © 2006–2021 The Apache Software Foundation. All rights reserved.