|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.uima.impl.AnalysisEngineFactory_impl
public class AnalysisEngineFactory_impl
Resource Factory that handles AnalysisEngineDescription
and TaeDescription
elements.
Constructor Summary | |
---|---|
AnalysisEngineFactory_impl()
|
Method Summary | |
---|---|
Resource |
produceResource(java.lang.Class<? extends Resource> aResourceClass,
ResourceSpecifier aSpecifier,
java.util.Map<java.lang.String,java.lang.Object> aAdditionalParams)
Produces an appropriate Resource instance from a ResourceSpecifier . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnalysisEngineFactory_impl()
Method Detail |
---|
public Resource produceResource(java.lang.Class<? extends Resource> aResourceClass, ResourceSpecifier aSpecifier, java.util.Map<java.lang.String,java.lang.Object> aAdditionalParams) throws ResourceInitializationException
ResourceFactory
Resource
instance from a ResourceSpecifier
.
This version of produceResource
takes a Map containing additional parameters to
be passed to the Resource.initialize(ResourceSpecifier,Map)
method.
produceResource
in interface ResourceFactory
aResourceClass
- the class of resource to be produced (NOTE: this is intended to be a standard UIMA
interface name such as "TextAnalysisEngine" or "ASB")aSpecifier
- an object that specifies how to acquire an instance of a Resource
.aAdditionalParams
- a Map containing additional parameters to pass to the
Resource.initialize(ResourceSpecifier,Map)
method. May be null
if there are no parameters.
Resource
instance. Returns null
if this factory does
not know how to create a Resource from the ResourceSpecifier
provided.
ResourceInitializationException
- if a failure occurred during production of the resourceResourceFactory.produceResource(java.lang.Class,
org.apache.uima.resource.ResourceSpecifier, java.util.Map)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |