|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.uima.collection.impl.metadata.cpe.CpeDescriptorFactory
public class CpeDescriptorFactory
Factory class for creating CpeDescriptors and their constituent objects.
Constructor Summary | |
---|---|
CpeDescriptorFactory()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CpeDescriptorFactory()
Method Detail |
---|
public static CpeDescription produceDescriptor()
public static CpeDescription produceDescriptor(XMLInputSource aInput) throws InvalidXMLException
aInput
- identifies the input file
InvalidXMLException
- if the descriptor is invalidpublic static CpeDescription produceDescriptor(InputStream aInput) throws InvalidXMLException
aInput
- identifies the input stream
InvalidXMLException
- if the descriptor is invalidpublic static CpeCollectionReader produceCollectionReader(String aCollectionReaderDescriptorPath, CpeDescription aDescriptor) throws CpeDescriptorException
aCollectionReaderDescriptorPath
- aDescriptor
-
CpeDescriptorException
public static CpeCollectionReader produceCollectionReader(String aCollectionReaderDescriptorPath) throws CpeDescriptorException
CpeDescriptorException
public static CpeCollectionReader produceCollectionReader() throws CpeDescriptorException
CpeDescriptorException
public static CpeCollectionReaderIterator produceCollectionReaderIterator(String aPath) throws CpeDescriptorException
CpeDescriptorException
@Deprecated public static CpeCollectionReaderCasInitializer produceCollectionReaderCasInitializer(String aPath, CpeDescription aDescriptor) throws CpeDescriptorException
aInitializerDescriptorPath
- aDescriptor
-
CpeDescriptorException
@Deprecated protected static CpeCollectionReaderCasInitializer produceCollectionReaderCasInitializer(String aInitializerDescriptorPath)
aInitializerDescriptorPath
- public static CpeComponentDescriptor produceComponentDescriptor(String aPath)
aDescriptorPath
- public static CpeConfiguration produceCpeConfiguration(CpeDescription aDescriptor) throws CpeDescriptorException
aDescriptor
-
CpeDescriptorException
public static CpeConfiguration produceCpeConfiguration() throws CpeDescriptorException
CpeDescriptorException
public static CasProcessorRuntimeEnvParam produceRuntimeEnvParam()
public static CasProcessorDeploymentParams produceDeployParams()
public static CasProcessorDeploymentParam produceDeployParam()
public static CpeInclude produceComponentDescriptorInclude()
public static CpeCasProcessors produceCasProcessors(CpeDescription aDescriptor) throws CpeDescriptorException
aDescriptor
-
CpeDescriptorException
public static CpeCasProcessors produceCasProcessors() throws CpeDescriptorException
CpeDescriptorException
public static CpeCasProcessors produceCasProcessors(int aInputQSize, int aOutputQSize, int aPuCount, CpeDescription aDescriptor) throws CpeDescriptorException
aInputQSize
- aOutputQSize
- aPuCount
- aDescriptor
-
CpeDescriptorException
public static CpeIntegratedCasProcessor produceCasProcessor(String aName)
public static CpeLocalCasProcessor produceLocalCasProcessor(String aName, String aSoFa) throws CpeDescriptorException
aName
- aSoFa
-
CpeDescriptorException
public static CpeRemoteCasProcessor produceRemoteCasProcessor(String aName) throws CpeDescriptorException
aName
-
CpeDescriptorException
public static CpeTimer produceCpeTimer(String aTimerClass)
public static CpeResourceManagerConfiguration produceResourceManagerConfiguration(String aResourceMgrConfigurationPath, CpeDescription aDescriptor) throws CpeDescriptorException
CpeDescriptorException
public static CpeResourceManagerConfiguration produceResourceManagerConfiguration(String aResourceMgrConfigurationPath) throws CpeDescriptorException
CpeDescriptorException
public static CasProcessorTimeout produceCasProcessorTimeout()
public static CasProcessorMaxRestarts produceCasProcessorMaxRestarts()
public static CasProcessorErrorRateThreshold produceCasProcessorErrorRateThreshold()
public static CasProcessorFilter produceCasProcessorFilter(String aFilter)
aFilter
- public static CasProcessorErrorHandling produceCasProcessorErrorHandling()
public static CpeCheckpoint produceCpeCheckpoint()
public static CasProcessorDeploymentParams produceCasProcessorDeploymentParams()
public static CasProcessorExecArg produceCasProcessorExecArg()
public static CasProcessorExecutable produceCasProcessorExecutable()
public static CasProcessorRunInSeperateProcess produceRunInSeperateProcess()
public static CasProcessorConfigurationParameterSettings produceCasProcessorConfigurationParameterSettings()
public static NameValuePair produceNameValuePair()
public static CpeSofaMapping produceSofaMapping()
public static CpeSofaMappings produceSofaMappings()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |