public class FlowControllerDeclaration_impl extends MetaDataObject_impl implements FlowControllerDeclaration
MetaDataObject_impl.MetaDataAttr, MetaDataObject_impl.SerialContext, MetaDataObject_impl.SerializerserialContext| Constructor and Description |
|---|
FlowControllerDeclaration_impl() |
| Modifier and Type | Method and Description |
|---|---|
void |
buildFromXMLElement(Element aElement,
XMLParser aParser,
XMLParser.ParsingOptions aOptions)
Initializes this object from its XML DOM representation.
|
Import |
getImport()
Gets the import that references the FlowController specifier.
|
String |
getKey()
Gets the key that can be used to refer to the FlowController in configuration parameter
overrides and Sofa mappings.
|
ResourceSpecifier |
getSpecifier()
Retrieves the
ResourceSpecifier used to determine which FlowController is used
by the AnalysisEngine. |
protected AttributesImpl |
getXMLAttributes()
Called by the
MetaDataObject_impl.toXML(ContentHandler, boolean) method to get the XML attributes that will be
written as part of the element's tag. |
protected XmlizationInfo |
getXmlizationInfo()
To be implemented by subclasses to return information describing how to represent this object
in XML.
|
void |
resolveImports()
Resolves an imported FlowController specifier, if there is one.
|
void |
resolveImports(ResourceManager aResourceManager)
Resolves an imported FlowController specifier, if there is one.
|
void |
setImport(Import aImport)
Sets the import that references the FlowController specifier.
|
void |
setKey(String aKey)
Sets the key that can be used to refer to the FlowController in configuration parameter
overrides and Sofa mappings.
|
void |
setSpecifier(ResourceSpecifier aSpecifier)
Sets the
ResourceSpecifier used to determine which FlowController is used by the
AnalysisEngine. |
buildFromXMLElement, clone, equals, getAdditionalAttributes, getAttributeClass, getAttributeValue, getInfoset, getMatchingNode, getPropertyDescriptors, getPropertyXmlInfo, getRelativePathBase, getSerialContext, getSourceUrl, getSourceUrlString, getWrapperClass, 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, waitclone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrlpublic String getKey()
FlowControllerDeclarationgetKey in interface FlowControllerDeclarationpublic void setKey(String aKey)
FlowControllerDeclarationsetKey in interface FlowControllerDeclarationaKey - the key to assign to the FlowControllerpublic Import getImport()
FlowControllerDeclarationgetImport in interface FlowControllerDeclarationpublic void setImport(Import aImport)
FlowControllerDeclarationsetImport in interface FlowControllerDeclarationaImport - an object containing the import information, or null if no import is to be usedpublic ResourceSpecifier getSpecifier()
FlowControllerDeclarationResourceSpecifier used to determine which FlowController is used
by the AnalysisEngine.getSpecifier in interface FlowControllerDeclarationResourceSpecifier that specifies a FlowController.public void setSpecifier(ResourceSpecifier aSpecifier)
FlowControllerDeclarationResourceSpecifier used to determine which FlowController is used by the
AnalysisEngine.setSpecifier in interface FlowControllerDeclarationaSpecifier - a ResourceSpecifier that specifies a FlowControllerpublic void resolveImports()
throws InvalidXMLException
FlowControllerDeclarationspecifierproperty
of this object is set to the result of parsing the imported descriptor. The import is then
deleted.resolveImports in interface FlowControllerDeclarationInvalidXMLException - if either the import target does not exist or is invalidpublic void resolveImports(ResourceManager aResourceManager) throws InvalidXMLException
FlowControllerDeclarationspecifierproperty
of this object is set to the result of parsing the imported descriptor. The import is then
deleted.resolveImports in interface FlowControllerDeclarationaResourceManager - the Resource Manager used to locate an XML file imported by nameInvalidXMLException - if either the import target does not exist or is invalidpublic void buildFromXMLElement(Element aElement, XMLParser aParser, XMLParser.ParsingOptions aOptions) throws InvalidXMLException
MetaDataObject_implXMLParser.
It is overridden by specific Java impl classes to provide additional
defaulting (e.g. see AnalysisEngineDescription_impl)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 AttributesImpl getXMLAttributes()
MetaDataObject_implMetaDataObject_impl.toXML(ContentHandler, boolean) method to get the XML attributes that will be
written as part of the element's tag. By default this method returns an empty Attributes
object. Subclasses may override it in order to write attributes to the XML.getXMLAttributes in class MetaDataObject_implprotected XmlizationInfo getXmlizationInfo()
MetaDataObject_implgetXmlizationInfo in class MetaDataObject_implCopyright © 2006–2021 The Apache Software Foundation. All rights reserved.