Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Deprecated API

Contents

- Deprecated Interfaces
- Deprecated Classes
- Deprecated Exceptions
- Deprecated Fields
- Deprecated Methods
- Deprecated Constructors

Deprecated Interfaces
org.apache.uima.analysis_engine.AnalysisProcessData
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.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.

Deprecated Classes
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.flow.SimpleStepWithResultSpec For backwards compatibility with Capability Language Flow only. User-developed Flow Controllers should not use this.
org.apache.uima.util.TCasToInlineXml As of v2.0, use `CasToInlineXml` instead.

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.cas.CAS.createSofa(SofaID, String) As of v2.0, use `CAS.createView(String)` instead.
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.cas.admin.CASMgr.flush() Use `reset()` instead.
org.apache.uima.cas.Type.getAppropriateFeatures() Use `getFeatures()` instead.
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.cas.TypeSystem.getDirectlySubsumedTypes(Type) Use `getDirectSubtypes(Type)` 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.cas.CAS.getJCas(SofaID) As of v2.0, use `CAS.getView(String)` followed by `CAS.getJCas()`.
org.apache.uima.util.XMLInputSource.getRelativePathBase() Use `XMLInputSource.getURL()` instead.
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.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.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.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.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.util.Logger.log(String) use new function with log level
org.apache.uima.util.Logger.log(String, String, Object[]) use new function with log level
org.apache.uima.util.Logger.logException(Exception) use new function with log level
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.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.util.XMLParser.parseTaeDescription(XMLInputSource) As of v2.0, `XMLParser.parseAnalysisEngineDescription(XMLInputSource)` should be used instead.
org.apache.uima.util.XMLParser.parseTaeDescription(XMLInputSource, XMLParser.ParsingOptions) As of v2.0, `XMLParser.parseAnalysisEngineDescription(XMLInputSource,ParsingOptions)` should be used instead.
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.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.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.uima.resource.metadata.ResourceManagerConfiguration.setImport(Import) Use `ResourceManagerConfiguration.setImports(Import[])` instead.
org.apache.uima.cas_data.FeatureStructure.setIndexed(boolean) Use `FeatureStructure.setIndexed(int[])` instead
org.apache.uima.util.Logger.setOutputStream(OutputStream) use external configuration possibility
org.apache.uima.util.Logger.setOutputStream(PrintStream) use external configuration possibility
org.apache.uima.pear.tools.InstallationDescriptor.updateMainComponentId(String) Use setMainComponentId() method instead.

Deprecated Constructors
org.apache.uima.util.JCasPool(int, TextAnalysisEngine) As of v2.0, TextAnalysisEngine has been deprecated. Use `JCasPool.JCasPool(int, AnalysisEngine)` 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.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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2007 The Apache Software Foundation. All Rights Reserved.