Modifier and Type | Method and Description |
---|---|
static AnalysisEngine |
UIMAFramework.produceAnalysisEngine(ResourceSpecifier aSpecifier)
Produces an
AnalysisEngine instance from a ResourceSpecifier . |
static AnalysisEngine |
UIMAFramework.produceAnalysisEngine(ResourceSpecifier aSpecifier,
int aMaxSimultaneousRequests,
int aTimeoutPeriod)
Produces an
AnalysisEngine instance from a ResourceSpecifier . |
static AnalysisEngine |
UIMAFramework.produceAnalysisEngine(ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams)
Produces an
AnalysisEngine instance from a ResourceSpecifier . |
static AnalysisEngine |
UIMAFramework.produceAnalysisEngine(ResourceSpecifier aSpecifier,
ResourceManager aResourceManager,
Map<String,Object> aAdditionalParams)
Produces an
AnalysisEngine instance from a ResourceSpecifier . |
static CasConsumer |
UIMAFramework.produceCasConsumer(ResourceSpecifier aSpecifier)
Produces a
CasConsumer instance from a ResourceSpecifier . |
static CasConsumer |
UIMAFramework.produceCasConsumer(ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams)
Produces a
CasConsumer instance from a ResourceSpecifier . |
static CasConsumer |
UIMAFramework.produceCasConsumer(ResourceSpecifier aSpecifier,
ResourceManager aResourceManager,
Map<String,Object> aAdditionalParams)
Produces an
CasConsumer instance from a ResourceSpecifier . |
static CasInitializer |
UIMAFramework.produceCasInitializer(ResourceSpecifier aSpecifier)
Deprecated.
As of v2.0, CAS Initializers are deprecated. A component that performs an operation
like HTML detagging should instead be implemented as a "multi-Sofa" annotator. See
org.apache.uima.examples.XmlDetagger for an example.
|
static CasInitializer |
UIMAFramework.produceCasInitializer(ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams)
Produces a
CasInitializer instance from a ResourceSpecifier . |
static CasInitializer |
UIMAFramework.produceCasInitializer(ResourceSpecifier aSpecifier,
ResourceManager aResourceManager,
Map<String,Object> aAdditionalParams)
Produces an
CasInitializer instance from a ResourceSpecifier . |
static CollectionReader |
UIMAFramework.produceCollectionReader(ResourceSpecifier aSpecifier)
Produces a
CollectionReader instance from a ResourceSpecifier . |
static CollectionReader |
UIMAFramework.produceCollectionReader(ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams)
Produces a
CollectionReader instance from a ResourceSpecifier . |
static CollectionReader |
UIMAFramework.produceCollectionReader(ResourceSpecifier aSpecifier,
ResourceManager aResourceManager,
Map<String,Object> aAdditionalParams)
Produces an
CollectionReader instance from a ResourceSpecifier . |
static Resource |
UIMAFramework.produceResource(Class<? extends Resource> aResourceClass,
ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams)
Produces an appropriate
Resource instance of a specified class from a
ResourceSpecifier . |
Resource |
ResourceFactory.produceResource(Class<? extends Resource> aResourceClass,
ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams)
Produces an appropriate
Resource instance from a ResourceSpecifier . |
static Resource |
UIMAFramework.produceResource(Class<? extends Resource> aResourceClass,
ResourceSpecifier aSpecifier,
ResourceManager aResourceManager,
Map<String,Object> aAdditionalParams)
Produces an appropriate
Resource instance of a specified class from a
ResourceSpecifier . |
static Resource |
UIMAFramework.produceResource(ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams)
Produces an appropriate
Resource instance from a ResourceSpecifier . |
static TextAnalysisEngine |
UIMAFramework.produceTAE(ResourceSpecifier aSpecifier)
Deprecated.
As of v2.0,
UIMAFramework.produceAnalysisEngine(ResourceSpecifier) should be used
instead. |
static TextAnalysisEngine |
UIMAFramework.produceTAE(ResourceSpecifier aSpecifier,
int aMaxSimultaneousRequests,
int aTimeoutPeriod)
Deprecated.
As of v2.0,
UIMAFramework.produceAnalysisEngine(ResourceSpecifier,int,int) should be
used instead. |
static TextAnalysisEngine |
UIMAFramework.produceTAE(ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams)
Deprecated.
As of v2.0,
UIMAFramework.produceAnalysisEngine(ResourceSpecifier,Map) should be used
instead. |
static TextAnalysisEngine |
UIMAFramework.produceTAE(ResourceSpecifier aSpecifier,
ResourceManager aResourceManager,
Map<String,Object> aAdditionalParams)
Deprecated.
As of v2.0,
UIMAFramework.produceAnalysisEngine(ResourceSpecifier,ResourceManager,Map)
should be used instead. |
Modifier and Type | Method and Description |
---|---|
void |
CompositeResourceFactory.registerFactory(Class<? extends ResourceSpecifier> aResourceSpecifierInterface,
ResourceFactory aFactory)
Registers a ResourceFactory with this composite factory.
|
Modifier and Type | Method and Description |
---|---|
boolean |
CasProcessorAnnotator.initialize(ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams) |
boolean |
JCasProcessorAnnotator.initialize(ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams) |
Modifier and Type | Interface and Description |
---|---|
interface |
AnalysisEngineDescription
An
AnalysisEngineDescription contains all of the information needed to instantiate
and use an AnalysisEngine . |
interface |
TaeDescription
Deprecated.
As of v2.0,
AnalysisEngineDescription should be used instead. This interface
no longer defines any additional methods beyond those in AnalysisEngineDescription. |
Modifier and Type | Method and Description |
---|---|
ResourceSpecifier |
AnalysisEngineDescription.getComponentSpecifier(String key)
Gets the ResourceSpecifier of one a component of this aggregate, based on its key.
|
Modifier and Type | Method and Description |
---|---|
Map<String,ResourceSpecifier> |
AnalysisEngineDescription.getAllComponentSpecifiers(ResourceManager aResourceManager)
For an aggregate AnalysisEngine only, gets the ResourceSpecifiers of all components in this
aggregate.
|
Map<String,ResourceSpecifier> |
AnalysisEngineDescription.getDelegateAnalysisEngineSpecifiers()
For an aggregate AnalysisEngine only, retrieves a collection of
ResourceSpecifier s that
indicate which delegate AnalysisEngines comprise the aggregate. |
Map<String,ResourceSpecifier> |
AnalysisEngineDescription.getDelegateAnalysisEngineSpecifiers(ResourceManager aResourceManager)
For an aggregate AnalysisEngine only, retrieves a collection of
ResourceSpecifier s that
indicate which delegate AnalysisEngines comprise the aggregate. |
Modifier and Type | Method and Description |
---|---|
boolean |
AnalysisEngine.initialize(ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams)
Initializes this
Resource from a ResourceSpecifier . |
Modifier and Type | Method and Description |
---|---|
void |
ASB.setup(Map<String,ResourceSpecifier> aComponentSpecifiers,
UimaContextAdmin aParentContext,
FlowControllerDeclaration aFlowControllerDeclaration,
AnalysisEngineMetaData aAggregateMetadata)
Called by the Aggregate Analysis Engine to provide this ASB with information it needs to
operate.
|
Modifier and Type | Method and Description |
---|---|
boolean |
FlowControllerContainer.initialize(ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams) |
boolean |
ASB_impl.initialize(ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams)
Initializes this ASB.
|
Modifier and Type | Method and Description |
---|---|
void |
ASB_impl.setup(Map<String,ResourceSpecifier> aSpecifiers,
UimaContextAdmin aParentContext,
FlowControllerDeclaration aFlowControllerDeclaration,
AnalysisEngineMetaData aAggregateMetadata)
Called after calling initialize() (see above) by the Aggregate Analysis Engine to provide this
ASB with information it needs to operate.
|
Modifier and Type | Class and Description |
---|---|
class |
AnalysisEngineDescription_impl
Reference implementation of
AnalysisEngineDescription . |
class |
TaeDescription_impl
Deprecated.
since v2.0
|
Modifier and Type | Method and Description |
---|---|
ResourceSpecifier |
AnalysisEngineDescription_impl.getComponentSpecifier(String key)
Gets the ResourceSpecifier of one a component of this aggregate, based on its key.
|
Modifier and Type | Method and Description |
---|---|
protected Map<String,ResourceSpecifier> |
UimacppAnalysisEngineImpl._getComponentCasProcessorSpecifierMap()
For an aggregate AnalysisEngine only, gets a Map from each component's key to the specifier for
that component.
|
protected Map<String,ResourceSpecifier> |
AggregateAnalysisEngine_impl._getComponentCasProcessorSpecifierMap()
For an aggregate AnalysisEngine only, gets a Map from each component's key to the specifier for
that component.
|
Map<String,ResourceSpecifier> |
AnalysisEngineDescription_impl.getAllComponentSpecifiers(ResourceManager aResourceManager) |
Map<String,ResourceSpecifier> |
AnalysisEngineDescription_impl.getDelegateAnalysisEngineSpecifiers() |
Map<String,ResourceSpecifier> |
AnalysisEngineDescription_impl.getDelegateAnalysisEngineSpecifiers(ResourceManager aResourceManager) |
Modifier and Type | Method and Description |
---|---|
boolean |
UimacppAnalysisEngineImpl.initialize(ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams) |
boolean |
MultiprocessingAnalysisEngine_impl.initialize(ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams) |
boolean |
PrimitiveAnalysisEngine_impl.initialize(ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams) |
boolean |
PearAnalysisEngineWrapper.initialize(ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams) |
boolean |
AnalysisEngineImplBase.initialize(ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams) |
boolean |
AggregateAnalysisEngine_impl.initialize(ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams) |
Modifier and Type | Method and Description |
---|---|
ResourceSpecifier |
FlowControllerDeclaration.getSpecifier()
Retrieves the
ResourceSpecifier used to determine which FlowController is used by
the AnalysisEngine. |
Modifier and Type | Method and Description |
---|---|
void |
FlowControllerDeclaration.setSpecifier(ResourceSpecifier aSpecifier)
Sets the
ResourceSpecifier used to determine which FlowController is used by the
AnalysisEngine. |
Modifier and Type | Method and Description |
---|---|
ResourceSpecifier |
FlowControllerDeclaration_impl.getSpecifier() |
Modifier and Type | Method and Description |
---|---|
void |
FlowControllerDeclaration_impl.setSpecifier(ResourceSpecifier aSpecifier) |
Modifier and Type | Method and Description |
---|---|
void |
AnalysisEngineService_impl.initialize(ResourceSpecifier aResourceSpecifier,
int aNumSimultaneousRequests,
int aTimeout)
An alternative form of initialize that takes the number of simultaneous requests and timeout
period as explicit arguments.
|
void |
AnalysisEngineService_impl.initialize(ResourceSpecifier aResourceSpecifier,
Map<String,Object> aResourceInitParams)
Initialize this service.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CasConsumerDescription
An
CasConsumerDescription contains all of the information needed to instantiate and
use an CasConsumer . |
interface |
CasInitializerDescription
Deprecated.
As of v2.0, CAS Initializers are deprecated. A component that performs an operation
like HTML detagging should instead be implemented as a "multi-Sofa" annotator. See
org.apache.uima.examples.XmlDetagger for an example.
|
interface |
CollectionReaderDescription
An
CollectionReaderDescription contains all of the information needed to instantiate
and use an CollectionReader . |
Modifier and Type | Method and Description |
---|---|
boolean |
CasInitializer_ImplBase.initialize(ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams)
Deprecated.
Called by the framework to initialize this CAS Initializer.
|
boolean |
CasConsumer_ImplBase.initialize(ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams)
Called by the framework to initialize this CAS Consumer.
|
boolean |
CollectionReader_ImplBase.initialize(ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams)
Called by the framework to initialize this Collection Reader.
|
Modifier and Type | Method and Description |
---|---|
boolean |
CasDataInitializer_ImplBase.initialize(ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams)
Deprecated.
Called by the framework to initialize this CAS Initializer.
|
boolean |
CasDataCollectionReader_ImplBase.initialize(ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams)
Called by the framework to initialize this Collection Reader.
|
boolean |
CasDataConsumer_ImplBase.initialize(ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams)
Called by the framework to initialize this CAS Consumer.
|
Modifier and Type | Class and Description |
---|---|
class |
CasConsumerDescription_impl |
class |
CasInitializerDescription_impl
Deprecated.
As of v2.0, CAS Initializers are deprecated.
|
class |
CollectionReaderDescription_impl |
Modifier and Type | Interface and Description |
---|---|
interface |
FlowControllerDescription
A
FlowControllerDescription contains all of the information needed to instantiate
and use a FlowController . |
Modifier and Type | Class and Description |
---|---|
class |
FlowControllerDescription_impl
Implementation of
FlowControllerDescription . |
Modifier and Type | Method and Description |
---|---|
Resource |
CompositeResourceFactory_impl.produceResource(Class<? extends Resource> aResourceClass,
ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams) |
Resource |
CustomResourceFactory_impl.produceResource(Class<? extends Resource> aResourceClass,
ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams) |
Resource |
CasConsumerFactory_impl.produceResource(Class<? extends Resource> aResourceClass,
ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams) |
Resource |
CollectionReaderFactory_impl.produceResource(Class<? extends Resource> aResourceClass,
ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams) |
Resource |
AnalysisEngineFactory_impl.produceResource(Class<? extends Resource> aResourceClass,
ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams) |
Resource |
CasInitializerFactory_impl.produceResource(Class<? extends Resource> aResourceClass,
ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams)
Deprecated.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ConfigurableDataResourceSpecifier
A type of
ResourceSpecifier that locates a resource file using its URL. |
interface |
CustomResourceSpecifier
A type of
ResourceSpecifier that specifically names the Java class that should be
created. |
interface |
FileLanguageResourceSpecifier
A type of
ResourceSpecifier that locates a resource file using its URL, where the
URL depends on an ISO language identifier. |
interface |
FileResourceSpecifier
A type of
ResourceSpecifier that locates a resource file using its URL. |
interface |
JMSMessagingSpecifier |
interface |
MailMessagingSpecifier |
interface |
MessagingSpecifier |
interface |
MQMessagingSpecifier |
interface |
PearSpecifier
A type of
ResourceSpecifier that locate an installed pear Resource . |
interface |
ResourceCreationSpecifier
A
ResourceCreationSpecifier is the supertype of
AnalysisEngineDescription ,
CasConsumerDescription ,
CollectionReaderDescription , and
CasInitializerDescription . |
interface |
ResourceServiceSpecifier
A
ResourceServiceSpecifier is a type of ResourceSpecifier that contains
information that can be used to locate an existing resource available as a service. |
interface |
ResourceSpecifierList
A type of
ResourceSpecifier that is an aggregate of other
ResourceSpecifier s. |
interface |
URISpecifier
A type of
ResourceSpecifier that locates an existing Resource service
by its URI. |
Modifier and Type | Method and Description |
---|---|
ResourceSpecifier |
ExternalResourceDescription.getResourceSpecifier()
Retrieves the
ResourceSpecifier that describes how to create the resource. |
Modifier and Type | Method and Description |
---|---|
List<ResourceSpecifier> |
ResourceSpecifierList.getResourceSpecifiers()
Retrieves the constituent
ResourceSpecifiers that comprise this aggregate
ResourceSpecifierList . |
Modifier and Type | Method and Description |
---|---|
boolean |
Resource_ImplBase.initialize(ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams) |
boolean |
Resource.initialize(ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams)
Initializes this
Resource from a ResourceSpecifier . |
Class<?> |
Resource_ImplBase.loadUserClassOrThrow(String name,
ResourceSpecifier aSpecifier) |
void |
ExternalResourceDescription.setResourceSpecifier(ResourceSpecifier aSpecifier)
Sets the
ResourceSpecifier that describes how to create the resource. |
Modifier and Type | Class and Description |
---|---|
class |
ConfigurableDataResourceSpecifier_impl
Reference implementation of
FileResourceSpecifier . |
class |
CustomResourceSpecifier_impl
Implementation of
CustomResourceSpecifier . |
class |
FileLanguageResourceSpecifier_impl
Reference implementation of
FileLanguageResourceSpecifier . |
class |
FileResourceSpecifier_impl
Reference implementation of
FileResourceSpecifier . |
class |
PearSpecifier_impl
Reference implementation of
PearSpecifier . |
class |
ResourceCreationSpecifier_impl
Reference implementation of
ResourceCreationSpecifier . |
class |
URISpecifier_impl
Reference implementation of
URISpecifier . |
Modifier and Type | Method and Description |
---|---|
ResourceSpecifier |
ExternalResourceDescription_impl.getResourceSpecifier() |
Modifier and Type | Method and Description |
---|---|
boolean |
ConfigurableDataResource_impl.initialize(ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams)
Initializes this DataResource.
|
boolean |
DataResource_impl.initialize(ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams)
Initializes this DataResource.
|
boolean |
FileLanguageResource_impl.initialize(ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams) |
static Class<?> |
ResourceManager_impl.loadUserClassOrThrow(String name,
ResourceManager rm,
ResourceSpecifier aSpecifier) |
void |
ExternalResourceDescription_impl.setResourceSpecifier(ResourceSpecifier aSpecifier) |
Modifier and Type | Method and Description |
---|---|
void |
ResourceService_impl.initialize(ResourceSpecifier aResourceSpecifier,
Map<String,Object> aResourceInitParams)
Initializes this ResourceService_impl.
|
Modifier and Type | Field and Description |
---|---|
protected Map<Class<? extends ResourceSpecifier>,List<Class<? extends Resource>>> |
SimpleResourceFactory.mClassMap
Map from ResourceSpecifier Class to List of Resource Classes.
|
Modifier and Type | Method and Description |
---|---|
ResourceSpecifier |
XMLParser.parseResourceSpecifier(XMLInputSource aInput)
Parses a ResourceSpecifier from an XML input stream.
|
ResourceSpecifier |
XMLParser.parseResourceSpecifier(XMLInputSource aInput,
XMLParser.ParsingOptions aOptions)
Parses a ResourceSpecifier from an XML input stream.
|
Modifier and Type | Method and Description |
---|---|
Resource |
SimpleResourceFactory.produceResource(Class<? extends Resource> aResourceClass,
ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams)
Produces an appropriate
Resource instance from a ResourceSpecifier . |
Modifier and Type | Method and Description |
---|---|
void |
SimpleResourceFactory.addMapping(Class<? extends ResourceSpecifier> aSpecifierInterface,
Class<? extends Resource> aResourceClass)
Configures this
SimpleResourceFactory by adding a new mapping between a
ResourceSpecifier class and a Resource class. |
Modifier and Type | Method and Description |
---|---|
ResourceSpecifier |
XMLParser_impl.parseResourceSpecifier(XMLInputSource aInput)
Parses a ResourceSpecifier from an XML input stream.
|
ResourceSpecifier |
XMLParser_impl.parseResourceSpecifier(XMLInputSource aInput,
XMLParser.ParsingOptions aOptions)
Parses a ResourceSpecifier from an XML input stream.
|
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.