## Uses of Interface
org.apache.uima.cas.SofaID

- Packages that use SofaID
  Package | Description
  --- | ---
  org.apache.uima | The main package for the Unstructured Information Management Middleware Architecture.
  org.apache.uima.analysis_engine.annotator | The Annotator Interfaces, along with supporting interfaces and exception classes.
  org.apache.uima.cas | Common Analysis System (CAS) Interfaces.
  org.apache.uima.jcas | Interfaces for accessing the JCAS.
  org.apache.uima.jcas.cas | JCAS model for built-in CAS types

- - ### Uses of SofaID in org.apache.uima

    Methods in org.apache.uima that return SofaID
    Modifier and Type | Method and Description
    --- | ---
    `SofaID[]` | UimaContext.`getSofaMappings()` Deprecated. 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.
    `SofaID` | UimaContext.`mapToSofaID(String aSofaName)` Deprecated. 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.

  - ### Uses of SofaID in org.apache.uima.analysis_engine.annotator

    Methods in org.apache.uima.analysis_engine.annotator that return SofaID
    Modifier and Type | Method and Description
    --- | ---
    `SofaID[]` | AnnotatorContext.`getSofaMappings()` Deprecated. 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.
    `SofaID` | AnnotatorContext.`mapToSofaID(String aSofaName)` Deprecated. 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.

  - ### Uses of SofaID in org.apache.uima.cas

    Methods in org.apache.uima.cas with parameters of type SofaID
    Modifier and Type | Method and Description
    --- | ---
    `SofaFS` | CAS.`createSofa(SofaID sofaID, String mimeType)` Deprecated. As of v2.0, use `CAS.createView(String)` instead.
    `JCas` | CAS.`getJCas(SofaID aSofaID)` Deprecated. As of v2.0, use `CAS.getView(String)` followed by `CAS.getJCas()`.
    `SofaFS` | CAS.`getSofa(SofaID sofaID)` Deprecated. 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.

  - ### Uses of SofaID in org.apache.uima.jcas

    Methods in org.apache.uima.jcas with parameters of type SofaID
    Modifier and Type | Method and Description
    --- | ---
    `SofaFS` | JCas.`createSofa(SofaID sofaID, String mimeType)` Deprecated. As of v2.0, use `JCas.createView(String)` instead.
    `Sofa` | JCas.`getSofa(SofaID sofaID)` Deprecated. 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.

  - ### Uses of SofaID in org.apache.uima.jcas.cas

    Constructors in org.apache.uima.jcas.cas with parameters of type SofaID
    Constructor and Description
    `Sofa(JCas jcas, SofaID ID, String mimeType)` Deprecated. As of v2.0, use `JCasImpl.createView(String)` to create a view, which will also create the Sofa for that view.

Copyright © 2006–2018 The Apache Software Foundation. All rights reserved.