Uses of Interface
org.apache.uima.resource.SharedResourceObject
Package
Description
Examples for using the
ExternalResource
annotation.Example for using the
ExternalResource
annotation.Factories to create different kinds of UIMA resource specifiers.
-
Uses of SharedResourceObject in org.apache.uima.fit.examples.resource
Modifier and TypeClassDescriptionstatic final class
Simple model that only stores the URI it was loaded from.static final class
Simple model that only stores the URI it was loaded from. -
Uses of SharedResourceObject in org.apache.uima.fit.examples.tutorial.ex6
-
Uses of SharedResourceObject in org.apache.uima.fit.factory
Modifier and TypeMethodDescriptionstatic void
ExternalResourceFactory.bindResourceUsingUrl
(ResourceSpecifier aDesc, Class<? extends SharedResourceObject> aRes, String aUrl, Object... aParams) Scan the given resource specifier for external resource dependencies and whenever a dependency with a compatible type is found, the resource will be bound.static void
ExternalResourceFactory.bindResourceUsingUrl
(ResourceSpecifier aDesc, String aKey, Class<? extends SharedResourceObject> aRes, String aUrl, Object... aParams) Scan the given resource specifier for external resource dependencies and whenever a dependency with the given key is encountered the resource will be bound.static void
ExternalResourceFactory.createDependencyAndBindUsingUrl
(AnalysisEngineDescription aDesc, String aKey, Class<? extends SharedResourceObject> aImpl, String aUrl, Object... aParams) Create a new dependency for the specified resource and bind it.static ExternalResourceDescription
ExternalResourceFactory.createNamedResourceDescriptionUsingUrl
(String aName, Class<? extends SharedResourceObject> aInterface, String aUrl, Object... aParams) Create an external resource description for aSharedResourceObject
.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
.