Uses of Interface
org.apache.uima.resource.ExternalResourceDescription
Package
Description
Apache UIMA
Factories to create different kinds of UIMA resource specifiers.
INTERNAL API - May change without further notice.
Apache UIMA internals
Interfaces for
Resources
and ResourceSpecifiers
.Interfaces for objects that represent metadata for a Resource.
-
Uses of ExternalResourceDescription in org.apache.uima
Modifier and TypeMethodDescriptionResourceSpecifierFactory.createExternalResourceDescription()
Creates anExternalResourceDescription
. -
Uses of ExternalResourceDescription in org.apache.uima.fit.factory
Modifier and TypeMethodDescriptionstatic ExternalResourceDescription
ExternalResourceFactory.createNamedFileResourceDescription
(String aName, String aUrl) Create an external resource description for a file addressable via an URL.static ExternalResourceDescription
ExternalResourceFactory.createNamedResourceDescription
(String aName, Class<? extends Resource> aInterface, Object... aParams) Create an external resource description for a custom resource.static ExternalResourceDescription
ExternalResourceFactory.createNamedResourceDescriptionUsingUrl
(String aName, Class<? extends SharedResourceObject> aInterface, String aUrl, Object... aParams) Create an external resource description for aSharedResourceObject
.static ExternalResourceDescription
ExternalResourceFactory.createResourceDescription
(Class<? extends Resource> aInterface, Object... aParams) Create an external resource description for a custom resource.static ExternalResourceDescription
ExternalResourceFactory.createSharedResourceDescription
(File aFile, Class<? extends SharedResourceObject> aInterface, Object... aParams) Create an external resource description for aSharedResourceObject
.static ExternalResourceDescription
ExternalResourceFactory.createSharedResourceDescription
(String aUrl, Class<? extends SharedResourceObject> aInterface, Object... aParams) Create an external resource description for aSharedResourceObject
.static ExternalResourceDescription
ExternalResourceFactory.createSharedResourceDescription
(URL aUrl, Class<? extends SharedResourceObject> aInterface, Object... aParams) Create an external resource description for aSharedResourceObject
.Modifier and TypeMethodDescriptionprotected static Map
<String, ExternalResourceDescription> ExternalResourceFactory.extractResourceParameters
(Object[] configurationData) Extracts the external resource from the configuration parameters and nulls out these parameters.Modifier and TypeMethodDescriptionstatic void
ExternalResourceFactory.bindResource
(ExternalResourceDescription aRes, String aBindTo, ExternalResourceDescription aNestedRes) Deprecated.static void
ExternalResourceFactory.bindResource
(ResourceManagerConfiguration aResMgrCfg, String aBindTo, ExternalResourceDescription aRes) static void
ExternalResourceFactory.bindResource
(ResourceSpecifier aDesc, String aKey, ExternalResourceDescription aResDesc) Scan the given resource specifier for external resource dependencies and whenever a dependency with the given key is encountered, the given resource is bound to it.static void
ExternalResourceFactory.bindResource
(ResourceSpecifier aDesc, ExternalResourceDescription aResDesc) Scan the given resource specifier for external resource dependencies and whenever a dependency with a compatible type is found, the given resource is bound to it.static void
ExternalResourceFactory.bindResourceOnce
(ExternalResourceDescription aRes, String aBindTo, ExternalResourceDescription aNestedRes) Create a binding for the given external resource in the given resource.static void
ExternalResourceFactory.bindResourceOnce
(ResourceManagerConfiguration aResMgrCfg, String aBindTo, ExternalResourceDescription aRes) Create a binding for the given external resource in the given resource manager.static void
ExternalResourceFactory.bindResourceOnce
(ResourceCreationSpecifier aDesc, String aBindTo, ExternalResourceDescription aRes) Create a binding for the given external resource in the resource manager configuration of the given resource.static ExternalResourceBinding
ExternalResourceFactory.createResourceBinding
(String aKey, ExternalResourceDescription aResource) Create an external resource binding.protected static String
ExternalResourceFactory.getImplementationName
(ExternalResourceDescription aDesc) Find the name of the class implementing this resource.Modifier and TypeMethodDescriptionstatic CollectionReaderDescription
CollectionReaderFactory.createDescription
(Class<? extends CollectionReader> readerClass, TypeSystemDescription typeSystem, TypePriorities typePriorities, FsIndexCollection indexes, Capability[] capabilities, ConfigurationParameter[] configurationParameters, Object[] configurationValues, Map<String, ExternalResourceDescription> externalResources) static AnalysisEngineDescription
AnalysisEngineFactory.createEngineDescription
(Class<? extends AnalysisComponent> componentClass, TypeSystemDescription typeSystem, TypePriorities typePriorities, FsIndexCollection indexes, Capability[] capabilities, ConfigurationParameter[] configurationParameters, Object[] configurationValues, Map<String, ExternalResourceDescription> externalResources) Create and configure a primitiveAnalysisEngine
.static FlowControllerDescription
FlowControllerFactory.createFlowControllerDescription
(Class<? extends FlowController> flowControllerClass, ConfigurationParameter[] configurationParameters, Object[] configurationValues, Map<String, ExternalResourceDescription> externalResources) Creates a new FlowControllerDescription for a given class and configuration parameters with valuesstatic AnalysisEngineDescription
AnalysisEngineFactory.createPrimitiveDescription
(Class<? extends AnalysisComponent> componentClass, TypeSystemDescription typeSystem, TypePriorities typePriorities, FsIndexCollection indexes, Capability[] capabilities, ConfigurationParameter[] configurationParameters, Object[] configurationValues, Map<String, ExternalResourceDescription> externalResources) static CollectionReaderDescription
CollectionReaderFactory.createReaderDescription
(Class<? extends CollectionReader> readerClass, TypeSystemDescription typeSystem, TypePriorities typePriorities, FsIndexCollection indexes, Capability[] capabilities, ConfigurationParameter[] configurationParameters, Object[] configurationValues, Map<String, ExternalResourceDescription> externalResources) The factory method for creating CollectionReaderDescription objects for a given class, TypeSystemDescription, TypePriorities, capabilities, and configuration data -
Uses of ExternalResourceDescription in org.apache.uima.fit.internal
Modifier and TypeClassDescriptionclass
INTERNAL API - ExtendedExternalResourceDescription_impl
which can carryExternalResourceDescription
s.Modifier and TypeMethodDescriptionExtendedExternalResourceDescription_impl.getExternalResources()
Modifier and TypeMethodDescriptionvoid
ExtendedExternalResourceDescription_impl.setExternalResources
(Collection<ExternalResourceDescription> aExternalResourceDescriptions) -
Uses of ExternalResourceDescription in org.apache.uima.impl
Modifier and TypeMethodDescriptionResourceSpecifierFactory_impl.createExternalResourceDescription()
-
Uses of ExternalResourceDescription in org.apache.uima.resource
Modifier and TypeFieldDescriptionstatic final ExternalResourceDescription[]
ExternalResourceDescription.EMPTY_EXTERNAL_RESORUCE_DESCRIPTIONS
-
Uses of ExternalResourceDescription in org.apache.uima.resource.impl
ModifierConstructorDescriptionResourceRegistration
(Object aResource, ExternalResourceDescription aDescription, String aDefiningContext) -
Uses of ExternalResourceDescription in org.apache.uima.resource.metadata
Modifier and TypeMethodDescriptionResourceManagerConfiguration.getExternalResources()
Gets the descriptions of the external resources to be instantiated and managed by the resource manager.Modifier and TypeMethodDescriptionvoid
ResourceManagerConfiguration.addExternalResource
(ExternalResourceDescription aExternalResourceDescription) Adds a External Resource to this configurationvoid
ResourceManagerConfiguration.removeExternalResource
(ExternalResourceDescription aExternalResourceDescription) Removes an ExternalResource from this configuration.void
ResourceManagerConfiguration.setExternalResources
(ExternalResourceDescription... aDescriptions) Sets the descriptions of the external resources to be instantiated and managed by the resource manager. -
Uses of ExternalResourceDescription in org.apache.uima.resource.metadata.impl
Modifier and TypeMethodDescriptionvoid
ResourceManagerConfiguration_impl.addExternalResource
(ExternalResourceDescription aExternalResourceDescription) void
ResourceManagerConfiguration_impl.removeExternalResource
(ExternalResourceDescription aExternalResourceDescription) void
ResourceManagerConfiguration_impl.setExternalResources
(ExternalResourceDescription... aDescriptions) -
Uses of ExternalResourceDescription in org.apache.uima.taeconfigurator.editors.ui
Modifier and TypeFieldDescriptionstatic final ExternalResourceDescription[]
AbstractSection.externalResourceDescription0
The Constant externalResourceDescription0.Modifier and TypeMethodDescriptionAbstractSection.getExternalResources()
Gets the external resources.ExtnlResBindSection.getXRDescriptionFromTreeItem
(org.eclipse.swt.widgets.TreeItem item) Gets the XR description from tree item. -
Uses of ExternalResourceDescription in org.apache.uima.taeconfigurator.editors.ui.dialogs
ModifierConstructorDescriptionAddExternalResourceDialog
(AbstractSection aSection, ExternalResourceDescription aExistingXRD) Instantiates a new adds the external resource dialog.
ExternalResourceFactory.bindResourceOnce(ExternalResourceDescription, String, ExternalResourceDescription)