uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Eckart de Castilho (JIRA)" <...@uima.apache.org>
Subject [jira] [Created] (UIMA-5552) uv3: Get JCas instance in JCas class
Date Fri, 08 Sep 2017 07:09:00 GMT
Richard Eckart de Castilho created UIMA-5552:

             Summary: uv3: Get JCas instance in JCas class
                 Key: UIMA-5552
                 URL: https://issues.apache.org/jira/browse/UIMA-5552
             Project: UIMA
          Issue Type: Bug
          Components: Core Java Framework
    Affects Versions: 3.0.0SDK-beta
            Reporter: Richard Eckart de Castilho

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

This message was sent by Atlassian JIRA

View raw message