Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-5552

uv3: Get JCas instance in JCas class

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0SDK-beta
    • 3.0.0SDK-beta
    • Core Java Framework
    • None

    Description

      In the new JCas FS classes, it is no longer possible to access the JCas instance conveniently. With UIMA v2, is was possible to get the JCas containing a feature structure via `jcasType.jcas`. Now, one has to do a `getCAS().getJCas()` but that requires catching a CASException. It would be nice to have a convenience method `getJCas()` in JCas FS classes that does not throw an exception.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rec Richard Eckart de Castilho
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: