Package org.apache.uima.collection.impl
Class CasConsumerDescription_impl
java.lang.Object
org.apache.uima.resource.metadata.impl.MetaDataObject_impl
org.apache.uima.resource.impl.ResourceCreationSpecifier_impl
org.apache.uima.collection.impl.CasConsumerDescription_impl
- All Implemented Interfaces:
- Serializable,- Cloneable,- CasConsumerDescription,- MetaDataObject,- ResourceCreationSpecifier,- ResourceSpecifier,- XMLizable
public class CasConsumerDescription_impl
extends ResourceCreationSpecifier_impl
implements CasConsumerDescription
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_implMetaDataObject_impl.MetaDataAttr, MetaDataObject_impl.SerialContext, MetaDataObject_impl.Serializer
- 
Field SummaryFields inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_implserialContext
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidbuildFromXMLElement(Element aElement, XMLParser aParser, XMLParser.ParsingOptions aOptions) Overridden to set default operational properties if they are not specified in descriptor.voiddoFullValidation(ResourceManager aResourceManager) Does full validation of thisResourceCreationSpecifier.Retrieves the metadata that describes the CasConsumer.protected XmlizationInfoTo be implemented by subclasses to return information describing how to represent this object in XML.Methods inherited from class org.apache.uima.resource.impl.ResourceCreationSpecifier_implcheckForDuplicateParameterNames, checkForInvalidParameterOverrides, doFullValidation, getExternalResourceDependencies, getExternalResourceDependency, getFrameworkImplementation, getImplementationName, getMetaData, getResourceManagerConfiguration, setExternalResourceDependencies, setFrameworkImplementation, setImplementationName, setMetaData, setResourceManagerConfiguration, validate, validate, validateConfigurationParametersMethods inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_implbuildFromXMLElement, 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, writePropertyAsElementMethods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.uima.resource.metadata.MetaDataObjectclone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrlMethods inherited from interface org.apache.uima.resource.ResourceCreationSpecifierdoFullValidation, getExternalResourceDependencies, getExternalResourceDependency, getFrameworkImplementation, getImplementationName, getMetaData, getResourceManagerConfiguration, setExternalResourceDependencies, setFrameworkImplementation, setImplementationName, setMetaData, setResourceManagerConfiguration, validate, validate
- 
Constructor Details- 
CasConsumerDescription_implpublic CasConsumerDescription_impl()Creates a new CasConsumerDescription_impl. Initializes the MetaData and FrameworkImplementation attributes.
 
- 
- 
Method Details- 
getCasConsumerMetaDataDescription copied from interface:CasConsumerDescriptionRetrieves the metadata that describes the CasConsumer.- Specified by:
- getCasConsumerMetaDatain interface- CasConsumerDescription
- Returns:
- the ProcessingResourceMetaDataobject containing the CasConsumer's metadata. This object can be modified.
- See Also:
 
- 
doFullValidationpublic void doFullValidation(ResourceManager aResourceManager) throws ResourceInitializationException Description copied from interface:ResourceCreationSpecifierDoes full validation of thisResourceCreationSpecifier. 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.- Specified by:
- doFullValidationin interface- ResourceCreationSpecifier
- Overrides:
- doFullValidationin class- ResourceCreationSpecifier_impl
- Parameters:
- aResourceManager- a ResourceManager instance to use to load annotator classes, external resource classes, and resolve imports by name.
- Throws:
- ResourceInitializationException- if validation failed
 
- 
buildFromXMLElementpublic void buildFromXMLElement(Element aElement, XMLParser aParser, XMLParser.ParsingOptions aOptions) throws InvalidXMLException Overridden to set default operational properties if they are not specified in descriptor.- Specified by:
- buildFromXMLElementin interface- XMLizable
- Overrides:
- buildFromXMLElementin class- MetaDataObject_impl
- Parameters:
- 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 settings
- Throws:
- InvalidXMLException- if the input XML element does not specify a valid object
 
- 
getXmlizationInfoDescription copied from class:MetaDataObject_implTo be implemented by subclasses to return information describing how to represent this object in XML.- Overrides:
- getXmlizationInfoin class- ResourceCreationSpecifier_impl
- Returns:
- information defining this object's XML representation
 
 
-