Deprecated API
Contents
-
Deprecated InterfacesInterfaceDescriptionAs of release 2.3.0, use UimaContext insteadAs of release 2.3.0, use CasAnnotator_ImplBase or JCasAnnotator_ImplBase insteadAs of release 2.3.0, use JCasAnnotator_ImplBase insteadAs of release 2.3.0, use CasAnnotator_ImplBase or JCasAnnotator_ImplBase insteadAs of v2.0,
AnalysisEngineDescription
should be used instead. This interface no longer defines any additional methods beyond those in AnalysisEngineDescription.As of v2.0,AnalysisEngine
should be used instead. This interface no longer defines any additional methods beyond those in AnalysisEngine.useFeaturePath
As of v2.0, this is no longer needed. CAS views can now be obtained directly using String identifiers, through the methodCAS.getView(String)
.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.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.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.replaced byUimaTimer
As of v2.0 CAS Initializers are deprecated.
-
Deprecated ClassesClassDescriptionAs of release 2.3.0, use CasAnnotator_ImplBase or JCasAnnotator_ImplBase insteadAs of release 2.3.0, use CasAnnotator_ImplBase or JCasAnnotator_ImplBase insteadAs of release 2.3.0, use JCasAnnotator_ImplBase insteadsince v2.0since v2.0As 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.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.As of v2.0, CAS Initializers are deprecated.replaced by
UimaTimer
Use PrimitiveValueImpl instead. This is just here for backwards compatibility.As of v2.0, CAS Initializers are deprecated.For backwards compatibility with Capability Language Flow only. User-developed Flow Controllers should not use this.As of v2.0, CAS Initializers are deprecated.As of v2.0, useAnalysisEnginePool
instead.Use org.apache.uima.tools.cvd.CVD instead.As of v2.0, useCasToInlineXml
instead.
-
Deprecated Exception ClassesException ClassDescriptionThe Constraint Parser is not supported in externally released versions of UIMA
-
Deprecated FieldsFieldDescriptionAs 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.XInclude is no longer supported
-
Deprecated MethodsMethodDescriptionThis is no longer used by the framework and was never intended for users to call. Use {#link #process(CAS)} instead.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.As of v2.0, annotators no longer need to explicitly call this method. CAS views can now be obtained directly by the methodCAS.getView(String)
, and the framework will automatically do the necessary Sofa mappings.never called anymore - getAdditionalAttributes called insteadno longer needed, remove call to thisas of 2.2.2 Now called automatically internally when neededUseFeatureStructure.getIndexed()
insteadUseFeatureStructure.setIndexed(int[])
insteadUse appendVinciFrameToCasData(Aframe, CasData) or vinciFrameToCasData(AFrame)Usereset()
instead.As of v2.0, useCAS.createView(String)
instead.As of v2.0, useCAS.getView(String)
followed byCAS.getJCas()
.As of v2.0, use {#getView(String)}. From the view you can access the Sofa data, or callCAS.getSofa()
if you truly need to access the SofaFS object.Usereset()
instead.UsegetFeatures()
instead.UsegetDirectSubtypes(Type)
instead.As of v2.0 CAS Initializers are deprecated.As of v2.0 CAS Initializers are deprecated.As of v2.0 CAS Initializers are deprecated.As of v2.0 CAS Initializers are deprecated.As of v2.0 CAS Initializers are deprecated.As of v2.0 CAS Initializers are deprecated.Doesn't support the new import syntax. Use getCpeComponentDescriptor().findAbsoluteUrl() instead.(non-Javadoc)As of v2.0, CAS Initializers are deprecated.As of v2.0, CAS Initializers are deprecated.As of v2.0, CAS Initializers are deprecated.Doesn't support the new import syntax. Use getCpeComponentDescriptor().findAbsoluteUrl() instead.Doesn't support the new import syntax. Use setCpeComponentDescriptor() instead.As of v2.0 CAS Initializers are deprecated.As of v2.0 CAS Initializers are deprecated.As of v2.0 CAS Initializers are deprecated.this is automatically done by the framework after a new flow object is createdthis is done automatically by the framework with the Flow object is createdsince v2.0As of v2.0, useJCas.createView(String)
instead.As of v2.0, use {#getView(String)}. From the view you can access the Sofa data, or callJCas.getSofa()
if you truly need to access the SofaFS object.use instance.jcasType instead - fasternot required, does nothingUse setMainComponentId() method instead.- use getAdditionalAttributes instead- use getAttributes instead- use getAttributes- use getAttributes() instead, don't override it, use getAdditionalAttributes to specify additional onesUseResourceManagerConfiguration.getImports()
instead. There may be many imports; this method only returns the first.UseResourceManagerConfiguration.setImports(Import[])
instead.Intended just for internal use.As of v2.0,ResourceSpecifierFactory.createAnalysisEngineDescription()
should be used instead.As of v2.0, annotators no longer need to explicitly call this method. CAS views can now be obtained directly by the methodCAS.getView(String)
, and the framework will automatically do the necessary Sofa mappings.As of v2.0, annotators no longer need to explicitly call this method. CAS views can now be obtained directly by the methodCAS.getView(String)
, and the framework will automatically do the necessary Sofa mappings.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.As of v2.0,UIMAFramework.produceAnalysisEngine(ResourceSpecifier)
should be used instead.As of v2.0,UIMAFramework.produceAnalysisEngine(ResourceSpecifier,int,int)
should be used instead.As of v2.0,UIMAFramework.produceAnalysisEngine(ResourceSpecifier,Map)
should be used instead.As of v2.0,UIMAFramework.produceAnalysisEngine(ResourceSpecifier,ResourceManager,Map)
should be used instead.use new function with log leveluse new function with log leveluse new function with log leveluse external configuration possibilityuse external configuration possibilityuse new function with log leveluse new function with log leveluse new function with log leveluse external configuration possibilityuse external configuration possibilityuse method with log level as parameteruse method with log level as parameteruse method with log level as parameteruse external configuration possibilityuse external configuration possibilitysince v2.0since v2.0use new function with log leveluse new function with log leveluse new function with log leveluse external configuration possibilityuse external configuration possibilityUseXMLInputSource.getURL()
instead.As of v2.0,XMLParser.parseAnalysisEngineDescription(XMLInputSource)
should be used instead.As of v2.0,XMLParser.parseAnalysisEngineDescription(XMLInputSource,ParsingOptions)
should be used instead.Use VinciContext.getVNSHost() instead.Use VinciContext.getVNSPort() instead.Use VinciContext.setVNSHost() instead.Use VinciContext.setVNSPort() instead.
-
Deprecated ConstructorsConstructorDescriptionUse 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.Use
XmiCasSerializer(TypeSystem)
instead. The UimaContext reference is never used by this implementation.UseXmiCasSerializer(TypeSystem, Map)
instead. The UimaContext reference is never used by this implementation.As of v2.0, useJCasImpl.createView(String)
to create a view, which will also create the Sofa for that view.use the zero-argument constructorAs of v2.0, TextAnalysisEngine has been deprecated. UseJCasPool(int, AnalysisEngine)
instead.XInclude is no longer supported