Deprecated API


Contents
Deprecated Interfaces
org.apache.uima.analysis_engine.AnalysisProcessData
            
org.apache.uima.analysis_engine.annotator.AnnotatorContext
          As of release 2.3.0, use UimaContext instead 
org.apache.uima.collection.base_cpm.CasDataInitializer
          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 XmlDetagger for an example. 
org.apache.uima.collection.CasInitializer
          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 XmlDetagger for an example. 
org.apache.uima.collection.CasInitializerDescription
          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 XmlDetagger for an example. 
org.apache.uima.collection.metadata.CpeCollectionReaderCasInitializer
          As of v2.0 CAS Initializers are deprecated. 
org.apache.uima.cas.FeatureValuePath
          use FeaturePath 
org.apache.uima.analysis_engine.annotator.GenericAnnotator
          As of release 2.3.0, use CasAnnotator_ImplBase or JCasAnnotator_ImplBase instead 
org.apache.uima.analysis_engine.annotator.JTextAnnotator
          As of release 2.3.0, use JCasAnnotator_ImplBase instead 
org.apache.uima.cas.SofaID
          As of v2.0, this is no longer needed. CAS views can now be obtained directly using String identifiers, through the method CAS.getView(String). 
org.apache.uima.analysis_engine.TaeDescription
          As of v2.0, AnalysisEngineDescription should be used instead. This interface no longer defines any additional methods beyond those in AnalysisEngineDescription. 
org.apache.uima.analysis_engine.TextAnalysisEngine
          As of v2.0, AnalysisEngine should be used instead. This interface no longer defines any additional methods beyond those in AnalysisEngine. 
org.apache.uima.analysis_engine.annotator.TextAnnotator
          As of release 2.3.0, use CasAnnotator_ImplBase or JCasAnnotator_ImplBase instead 
org.apache.uima.collection.impl.cpm.utils.Timer
          replaced by UimaTimer 
 

Deprecated Classes
org.apache.uima.analysis_engine.impl.AnalysisProcessData_impl
          since v2.0 
org.apache.uima.analysis_engine.annotator.Annotator_ImplBase
          As of release 2.3.0, use CasAnnotator_ImplBase or JCasAnnotator_ImplBase instead 
org.apache.uima.collection.base_cpm.CasDataInitializer_ImplBase
          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 XmlDetagger for an example. 
org.apache.uima.collection.CasInitializer_ImplBase
          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 XmlDetagger for an example. 
org.apache.uima.collection.impl.CasInitializerDescription_impl
          As of v2.0, CAS Initializers are deprecated. 
org.apache.uima.impl.CasInitializerFactory_impl
          As of v2.0, CAS Initializers are deprecated. 
org.apache.uima.collection.impl.metadata.cpe.CpeCollectionReaderCasInitializerImpl
          As of v2.0, CAS Initializers are deprecated. 
org.apache.uima.analysis_engine.annotator.GenericAnnotator_ImplBase
          As of release 2.3.0, use CasAnnotator_ImplBase or JCasAnnotator_ImplBase instead 
org.apache.uima.tools.annot_view.Gladis
          Use org.apache.uima.tools.cvd.CVD instead. 
org.apache.uima.collection.impl.cpm.utils.JavaTimer
          replaced by UimaTimer 
org.apache.uima.analysis_engine.annotator.JTextAnnotator_ImplBase
          As of release 2.3.0, use JCasAnnotator_ImplBase instead 
org.apache.uima.flow.SimpleStepWithResultSpec
          For backwards compatibility with Capability Language Flow only. User-developed Flow Controllers should not use this. 
org.apache.uima.impl.SofaID_impl
            
org.apache.uima.analysis_engine.impl.TaeDescription_impl
          since v2.0 
org.apache.uima.util.TCasToInlineXml
          As of v2.0, use CasToInlineXml instead. 
org.apache.uima.internal.util.TextAnalysisEnginePool
          As of v2.0, use AnalysisEnginePool instead. 
org.apache.uima.collection.impl.cpm.vinci.cas_data.VinciPrimitiveValue
          Use PrimitiveValueImpl instead. This is just here for backwards compatibility. 
 

Deprecated Exceptions
org.apache.uima.cas.ParsingException
          The Constraint Parser is not supported in externally released versions of UIMA 
 

Deprecated Fields
org.apache.uima.util.XMLParser.ParsingOptions.expandXIncludes
          XInclude is no longer supported 
org.apache.uima.cas.CAS.NAME_DEFAULT_TEXT_SOFA
          As of v2.0, this is replaced by CAS.NAME_DEFAULT_SOFA, and the value has changed. In general, user code should not need to refer to this name. 
 

Deprecated Methods
org.apache.uima.collection.metadata.CpeDescription.addCasInitializer(String)
          As of v2.0 CAS Initializers are deprecated. 
org.apache.uima.collection.impl.metadata.cpe.CpeDescriptionImpl.addCasInitializer(String)
          As of v2.0, CAS Initializers are deprecated. 
org.apache.uima.collection.impl.cpm.engine.CPMEngine.asynchStop()
            
org.apache.uima.cas.impl.CASImpl.commitFS(FeatureStructure)
            
org.apache.uima.analysis_engine.ResultSpecification.compile(TypeSystem)
          as of 2.2.2 Now called automatically internally when needed 
org.apache.uima.analysis_engine.impl.ResultSpecification_impl.compile(TypeSystem)
          no longer needed, remove call to this 
org.apache.uima.analysis_engine.impl.UimacppAnalysisEngineImpl.createAnalysisProcessData()
            
org.apache.uima.cas.CAS.createSofa(SofaID, String)
          As of v2.0, use CAS.createView(String) instead. 
org.apache.uima.cas.impl.CASImpl.createSofa(SofaID, String)
            
org.apache.uima.jcas.JCas.createSofa(SofaID, String)
          As of v2.0, use JCas.createView(String) instead. 
org.apache.uima.ResourceSpecifierFactory.createTaeDescription()
          As of v2.0, ResourceSpecifierFactory.createAnalysisEngineDescription() should be used instead. 
org.apache.uima.impl.ResourceSpecifierFactory_impl.createTaeDescription()
          since v2.0 
org.apache.uima.cas.admin.CASMgr.flush()
          Use reset() instead. 
org.apache.uima.cas.impl.CASImpl.flush()
          Use reset()instead. 
org.apache.uima.cas.Type.getAppropriateFeatures()
          Use getFeatures() instead. 
org.apache.uima.cas.impl.TypeImpl.getAppropriateFeatures()
            
org.apache.uima.collection.base_cpm.CasDataCollectionReader.getCasDataInitializer()
          As of v2.0 CAS Initializers are deprecated. 
org.apache.uima.collection.CollectionReader.getCasInitializer()
          As of v2.0 CAS Initializers are deprecated. 
org.apache.uima.collection.CollectionReader_ImplBase.getCasInitializer()
          As of v2.0 CAS Initializers are deprecated. 
org.apache.uima.collection.metadata.CpeCollectionReader.getCasInitializer()
          As of v2.0 CAS Initializers are deprecated. 
org.apache.uima.collection.metadata.CpeCasProcessor.getDescriptor()
          Doesn't support the new import syntax. Use getCpeComponentDescriptor().findAbsoluteUrl() instead. 
org.apache.uima.collection.impl.metadata.cpe.CasProcessorCpeObject.getDescriptor()
          Doesn't support the new import syntax. Use getCpeComponentDescriptor().findAbsoluteUrl() instead. 
org.apache.uima.cas.TypeSystem.getDirectlySubsumedTypes(Type)
          Use getDirectSubtypes(Type) instead. 
org.apache.uima.cas.impl.TypeImpl.getFeature(String)
            
org.apache.uima.cas.impl.TypeSystemImpl.getFeature(String)
            
org.apache.vinci.transport.vns.client.VNSConfig.getHost()
          Use VinciContext.getVNSHost() instead. 
org.apache.uima.resource.metadata.ResourceManagerConfiguration.getImport()
          Use ResourceManagerConfiguration.getImports() instead. There may be many imports; this method only returns the first. 
org.apache.uima.resource.metadata.impl.ResourceManagerConfiguration_impl.getImport()
            
org.apache.uima.cas.CAS.getJCas(SofaID)
          As of v2.0, use CAS.getView(String) followed by CAS.getJCas(). 
org.apache.uima.cas.impl.CASImpl.getJCas(SofaID)
            
org.apache.uima.collection.impl.cpm.container.ProcessingContainer_Impl.getLastCas()
            
org.apache.vinci.transport.vns.client.VNSConfig.getPort()
          Use VinciContext.getVNSPort() instead. 
org.apache.uima.util.XMLInputSource.getRelativePathBase()
          Use XMLInputSource.getURL() instead. 
org.apache.uima.collection.impl.metadata.cpe.CasProcessorCpeObject.getSOFA()
          (non-Javadoc) 
org.apache.uima.cas.CAS.getSofa(SofaID)
          As of v2.0, use {#getView(String)}. From the view you can access the Sofa data, or call CAS.getSofa() if you truly need to access the SofaFS object. 
org.apache.uima.cas.impl.CASImpl.getSofa(SofaID)
            
org.apache.uima.jcas.JCas.getSofa(SofaID)
          As of v2.0, use {#getView(String)}. From the view you can access the Sofa data, or call JCas.getSofa() if you truly need to access the SofaFS object. 
org.apache.uima.UimaContext.getSofaMappings()
          As of v2.0, annotators no longer need to explicitly call this method. CAS views can now be obtained directly by the method CAS.getView(String), and the framework will automatically do the necessary Sofa mappings. 
org.apache.uima.analysis_engine.annotator.AnnotatorContext.getSofaMappings()
          As of v2.0, annotators no longer need to explicitly call this method. CAS views can now be obtained directly by the method CAS.getView(String), and the framework will automatically do the necessary Sofa mappings. 
org.apache.uima.analysis_engine.impl.AnnotatorContext_impl.getSofaMappings()
            
org.apache.uima.jcas.tcas.Annotation.getStart()
            
org.apache.uima.jcas.JCas.getType(TOP)
          use instance.jcasType instead - faster 
org.apache.uima.cas_data.FeatureStructure.isIndexed()
          Use FeatureStructure.getIndexed() instead 
org.apache.uima.cas_data.impl.FeatureStructureImpl.isIndexed()
            
org.apache.uima.collection.impl.cpm.container.ProcessingContainer_Impl.isIntegrated()
            
org.apache.uima.collection.impl.cpm.container.ProcessingContainer_Impl.isLocal()
            
org.apache.uima.collection.impl.cpm.container.ProcessingContainer_Impl.isRemote()
            
org.apache.uima.util.Logger.log(String)
          use new function with log level 
org.apache.uima.util.impl.Log4jLogger_impl.log(String)
          use new function with log level 
org.apache.uima.util.impl.JSR47Logger_impl.log(String)
          use new function with log level 
org.apache.uima.util.impl.Logger_impl.log(String)
          use method with log level as parameter 
org.apache.uima.util.Logger.log(String, String, Object[])
          use new function with log level 
org.apache.uima.util.impl.Log4jLogger_impl.log(String, String, Object[])
          use new function with log level 
org.apache.uima.util.impl.JSR47Logger_impl.log(String, String, Object[])
          use new function with log level 
org.apache.uima.util.impl.Logger_impl.log(String, String, Object[])
          use method with log level as parameter 
org.apache.uima.util.Logger.logException(Exception)
          use new function with log level 
org.apache.uima.util.impl.Log4jLogger_impl.logException(Exception)
          use new function with log level 
org.apache.uima.util.impl.JSR47Logger_impl.logException(Exception)
          use new function with log level 
org.apache.uima.util.impl.Logger_impl.logException(Exception)
          use method with log level as parameter 
org.apache.uima.UimaContext.mapToSofaID(String)
          As of v2.0, annotators no longer need to explicitly call this method. CAS views can now be obtained directly by the method CAS.getView(String), and the framework will automatically do the necessary Sofa mappings. 
org.apache.uima.analysis_engine.annotator.AnnotatorContext.mapToSofaID(String)
          As of v2.0, annotators no longer need to explicitly call this method. CAS views can now be obtained directly by the method CAS.getView(String), and the framework will automatically do the necessary Sofa mappings. 
org.apache.uima.analysis_engine.impl.AnnotatorContext_impl.mapToSofaID(String)
            
org.apache.uima.util.impl.XMLParser_impl.parseCasInitializerDescription(XMLInputSource)
            
org.apache.uima.util.impl.XMLParser_impl.parseCasInitializerDescription(XMLInputSource, XMLParser.ParsingOptions)
            
org.apache.uima.util.XMLParser.parseTaeDescription(XMLInputSource)
          As of v2.0, XMLParser.parseAnalysisEngineDescription(XMLInputSource) should be used instead. 
org.apache.uima.util.impl.XMLParser_impl.parseTaeDescription(XMLInputSource)
          since v2.0 
org.apache.uima.util.XMLParser.parseTaeDescription(XMLInputSource, XMLParser.ParsingOptions)
          As of v2.0, XMLParser.parseAnalysisEngineDescription(XMLInputSource,ParsingOptions) should be used instead. 
org.apache.uima.util.impl.XMLParser_impl.parseTaeDescription(XMLInputSource, XMLParser.ParsingOptions)
          since v2.0 
org.apache.uima.analysis_engine.AnalysisEngine.process(AnalysisProcessData, ResultSpecification)
          This is no longer used by the framework and was never intended for users to call. Use {#link #process(CAS)} instead. 
org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisProcessData, ResultSpecification)
            
org.apache.uima.collection.impl.cpm.BaseCPMImpl.process(BaseCollectionReader)
            
org.apache.uima.collection.impl.cpm.BaseCPMImpl.process(BaseCollectionReader, int)
            
org.apache.uima.jcas.JCas.processInit()
          not required, does nothing 
org.apache.uima.UIMAFramework.produceCasInitializer(ResourceSpecifier)
          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 XmlDetagger for an example. 
org.apache.uima.collection.impl.metadata.cpe.CpeDescriptorFactory.produceCollectionReaderCasInitializer(String)
          As of v2.0, CAS Initializers are deprecated. 
org.apache.uima.collection.impl.metadata.cpe.CpeDescriptorFactory.produceCollectionReaderCasInitializer(String, CpeDescription)
          As of v2.0, CAS Initializers are deprecated. 
org.apache.uima.UIMAFramework.produceTAE(ResourceSpecifier)
          As of v2.0, UIMAFramework.produceAnalysisEngine(ResourceSpecifier) should be used instead. 
org.apache.uima.UIMAFramework.produceTAE(ResourceSpecifier, int, int)
          As of v2.0, UIMAFramework.produceAnalysisEngine(ResourceSpecifier,int,int) should be used instead. 
org.apache.uima.UIMAFramework.produceTAE(ResourceSpecifier, Map)
          As of v2.0, UIMAFramework.produceAnalysisEngine(ResourceSpecifier,Map) should be used instead. 
org.apache.uima.UIMAFramework.produceTAE(ResourceSpecifier, ResourceManager, Map)
          As of v2.0, UIMAFramework.produceAnalysisEngine(ResourceSpecifier,ResourceManager,Map) should be used instead. 
org.apache.uima.flow.CasFlow_ImplBase.setCas(CAS)
          this is automatically done by the framework after a new flow object is created 
org.apache.uima.collection.base_cpm.CasDataCollectionReader.setCasInitializer(CasDataInitializer)
          As of v2.0 CAS Initializers are deprecated. 
org.apache.uima.collection.CollectionReader.setCasInitializer(CasInitializer)
          As of v2.0 CAS Initializers are deprecated. 
org.apache.uima.collection.CollectionReader_ImplBase.setCasInitializer(CasInitializer)
          As of v2.0 CAS Initializers are deprecated. 
org.apache.uima.collection.metadata.CpeCollectionReader.setCasInitializer(CpeCollectionReaderCasInitializer)
          As of v2.0 CAS Initializers are deprecated. 
org.apache.uima.collection.metadata.CpeCasProcessor.setDescriptor(String)
          Doesn't support the new import syntax. Use setCpeComponentDescriptor() instead. 
org.apache.vinci.transport.vns.client.VNSConfig.setHost(String)
          Use VinciContext.setVNSHost() instead. 
org.apache.uima.resource.metadata.ResourceManagerConfiguration.setImport(Import)
          Use ResourceManagerConfiguration.setImports(Import[]) instead. 
org.apache.uima.resource.metadata.impl.ResourceManagerConfiguration_impl.setImport(Import)
            
org.apache.uima.cas_data.FeatureStructure.setIndexed(boolean)
          Use FeatureStructure.setIndexed(int[]) instead 
org.apache.uima.cas_data.impl.FeatureStructureImpl.setIndexed(boolean)
            
org.apache.uima.collection.impl.metadata.cpe.CpeDescriptionImpl.setInputQueueSize(int)
            
org.apache.uima.flow.JCasFlow_ImplBase.setJCas(JCas)
          this is done automatically by the framework with the Flow object is created 
org.apache.uima.collection.impl.cpm.container.ProcessingContainer_Impl.setLastCas(Object)
            
org.apache.uima.collection.impl.metadata.cpe.CpeDescriptionImpl.setOutputQueueSize(int)
            
org.apache.uima.util.Logger.setOutputStream(OutputStream)
          use external configuration possibility 
org.apache.uima.util.impl.Log4jLogger_impl.setOutputStream(OutputStream)
          use external configuration possibility 
org.apache.uima.util.impl.JSR47Logger_impl.setOutputStream(OutputStream)
          use external configuration possibility 
org.apache.uima.util.impl.Logger_impl.setOutputStream(OutputStream)
          use external configuration possibility 
org.apache.uima.util.Logger.setOutputStream(PrintStream)
          use external configuration possibility 
org.apache.uima.util.impl.Log4jLogger_impl.setOutputStream(PrintStream)
          use external configuration possibility 
org.apache.uima.util.impl.JSR47Logger_impl.setOutputStream(PrintStream)
          use external configuration possibility 
org.apache.uima.util.impl.Logger_impl.setOutputStream(PrintStream)
          use external configuration possibility 
org.apache.vinci.transport.vns.client.VNSConfig.setPort(int)
          Use VinciContext.setVNSPort() instead. 
org.apache.uima.collection.impl.metadata.cpe.CasProcessorCpeObject.setSOFA(String)
            
org.apache.uima.tools.stylemap.StyleMapEditor.setTextAnalysisEngine(TaeDescription)
          use StyleMapEditor.setAnalysisEngine(AnalysisEngineDescription) instead. 
org.apache.uima.collection.impl.cpm.container.ProcessingContainer_Impl.start()
            
org.apache.uima.collection.impl.cpm.container.ProcessingContainer_Impl.stop()
            
org.apache.uima.pear.tools.InstallationDescriptor.updateMainComponentId(String)
          Use setMainComponentId() method instead. 
org.apache.uima.cas_data.impl.vinci.VinciCasDataConverter.vinciFrameToCasData(AFrame, CasData)
          Use appendVinciFrameToCasData(Aframe, CasData) or vinciFrameToCasData(AFrame) 
 

Deprecated Constructors
org.apache.uima.tools.viewer.CasAnnotationViewer(boolean)
          use the zero-argument constructor and call CasAnnotationViewer.setEntityViewEnabled(boolean) 
org.apache.uima.util.JCasPool(int, TextAnalysisEngine)
          As of v2.0, TextAnalysisEngine has been deprecated. Use JCasPool.JCasPool(int, AnalysisEngine) instead. 
org.apache.uima.util.impl.SaxDeserializer_impl(XMLParser, String, URL, XMLParser.ParsingOptions)
          Use SaxDeserializer_impl.SaxDeserializer_impl(XMLParser, XMLParser.ParsingOptions) instead. 
org.apache.uima.jcas.cas.Sofa(JCas, SofaID, String)
          As of v2.0, use JCasImpl.createView(String) to create a view, which will also create the Sofa for that view. 
org.apache.uima.cas.impl.TypeSystemImpl(CASImpl)
          Use 0 arg constructor. Type Systems are shared by many CASes, and can't point to one. Change also your possible calls to ts.commit() - see comment on that method. 
org.apache.uima.cas.impl.XmiCasSerializer(TypeSystem, UimaContext)
          Use XmiCasSerializer.XmiCasSerializer(TypeSystem) instead. The UimaContext reference is never used by this implementation. 
org.apache.uima.cas.impl.XmiCasSerializer(TypeSystem, UimaContext, Map)
          Use XmiCasSerializer.XmiCasSerializer(TypeSystem, Map) instead. The UimaContext reference is never used by this implementation. 
org.apache.uima.util.XMLParser.ParsingOptions(boolean, boolean)
          XInclude is no longer supported 
 



Copyright © 2011. All Rights Reserved.