public interface FlowControllerDeclaration extends MetaDataObject
If an import is used, it is not automatically resolved when this object is deserialized from XML.
To resolve the imports, call the resolveImports()
method. Import resolution is done
automatically during AnalysisEngine instantiation.
Modifier and Type | Method and Description |
---|---|
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. |
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. |
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML
String getKey()
void setKey(String aKey)
aKey
- the key to assign to the FlowControllerImport getImport()
void setImport(Import aImport)
aImport
- an object containing the import information, or null if no import is to be usedResourceSpecifier getSpecifier()
ResourceSpecifier
used to determine which FlowController is used
by the AnalysisEngine.ResourceSpecifier
that specifies a FlowController.void setSpecifier(ResourceSpecifier aSpecifier)
ResourceSpecifier
used to determine which FlowController is used by the
AnalysisEngine.aSpecifier
- a ResourceSpecifier
that specifies a FlowControllervoid resolveImports() throws InvalidXMLException
specifier
property
of this object is set to the result of parsing the imported descriptor. The import is then
deleted.InvalidXMLException
- if either the import target does not exist or is invalidvoid resolveImports(ResourceManager aResourceManager) throws InvalidXMLException
specifier
property
of this object is set to the result of parsing the imported descriptor. The import is then
deleted.aResourceManager
- the Resource Manager used to locate an XML file imported by nameInvalidXMLException
- if either the import target does not exist or is invalidCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.