Package org.apache.uima.flow.impl
Class FlowControllerDescription_impl
- java.lang.Object
-
- org.apache.uima.resource.metadata.impl.MetaDataObject_impl
-
- org.apache.uima.resource.impl.ResourceCreationSpecifier_impl
-
- org.apache.uima.flow.impl.FlowControllerDescription_impl
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,FlowControllerDescription
,MetaDataObject
,ResourceCreationSpecifier
,ResourceSpecifier
,XMLizable
public class FlowControllerDescription_impl extends ResourceCreationSpecifier_impl implements FlowControllerDescription
Implementation ofFlowControllerDescription
.- 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 FlowControllerDescription_impl()
Creates a new CasConsumerDescription_impl.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
buildFromXMLElement(org.w3c.dom.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 thisResourceCreationSpecifier
.ProcessingResourceMetaData
getFlowControllerMetaData()
Retrieves the metadata that describes the FlowController.protected XmlizationInfo
getXmlizationInfo()
To 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_impl
checkForDuplicateParameterNames, checkForInvalidParameterOverrides, doFullValidation, getExternalResourceDependencies, getExternalResourceDependency, getFrameworkImplementation, getImplementationName, getMetaData, getResourceManagerConfiguration, setExternalResourceDependencies, setFrameworkImplementation, setImplementationName, setMetaData, setResourceManagerConfiguration, validate, validate, validateConfigurationParameters
-
Methods inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl
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.resource.ResourceCreationSpecifier
doFullValidation, getExternalResourceDependencies, getExternalResourceDependency, getFrameworkImplementation, getImplementationName, getMetaData, getResourceManagerConfiguration, setExternalResourceDependencies, setFrameworkImplementation, setImplementationName, setMetaData, setResourceManagerConfiguration, validate, validate
-
-
-
-
Method Detail
-
getFlowControllerMetaData
public ProcessingResourceMetaData getFlowControllerMetaData()
Description copied from interface:FlowControllerDescription
Retrieves the metadata that describes the FlowController.- Specified by:
getFlowControllerMetaData
in interfaceFlowControllerDescription
- Returns:
- the
ProcessingResourceMetaData
object containing the FlowController's metadata. This object can be modified.
-
doFullValidation
public void doFullValidation(ResourceManager aResourceManager) throws ResourceInitializationException
Description copied from interface:ResourceCreationSpecifier
Does 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:
doFullValidation
in interfaceResourceCreationSpecifier
- Overrides:
doFullValidation
in classResourceCreationSpecifier_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
-
buildFromXMLElement
public void buildFromXMLElement(org.w3c.dom.Element aElement, XMLParser aParser, XMLParser.ParsingOptions aOptions) throws InvalidXMLException
Overridden to set default operational properties if they are not specified in descriptor.- Specified by:
buildFromXMLElement
in interfaceXMLizable
- Overrides:
buildFromXMLElement
in classMetaDataObject_impl
- Parameters:
aElement
- the XML element that represents this object.aParser
- a reference to the UIMAXMLParser
. TheXMLParser.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
-
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.- Overrides:
getXmlizationInfo
in classResourceCreationSpecifier_impl
- Returns:
- information defining this object's XML representation
-
-