Class JCasImpl.JCasFsGenerator<T extends TOP>

java.lang.Object
org.apache.uima.jcas.impl.JCasImpl.JCasFsGenerator<T>
All Implemented Interfaces:
FSGenerator<T>
Enclosing class:
JCasImpl

private static class JCasImpl.JCasFsGenerator<T extends TOP> extends Object implements FSGenerator<T>
  • Field Details

    • initArgsThreadLocal

      static final ThreadLocal<Object[]> initArgsThreadLocal
    • type

      private final int type
    • c

      private final Constructor<T extends TOP> c
    • isSubtypeOfAnnotationBase

      private final boolean isSubtypeOfAnnotationBase
    • sofaNbrFeatCode

      private final int sofaNbrFeatCode
    • annotSofaFeatCode

      private final int annotSofaFeatCode
  • Constructor Details

    • JCasFsGenerator

      JCasFsGenerator(int type, Constructor<T> c, boolean isSubtypeOfAnnotationBase, int sofaNbrFeatCode, int annotSofaFeatCode)
  • Method Details

    • createFS

      public T createFS(int addr, CASImpl casView)
      Specified by:
      createFS in interface FSGenerator<T extends TOP>
    • doCreateFS

      private T doCreateFS(int addr, CASImpl casView)
    • logAndThrow

      private void logAndThrow(Exception e, JCasImpl jcasView)
    • getSofaNbr

      private int getSofaNbr(int addr, CASImpl casView)