Package org.apache.uima.jcas.impl
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 Summary
FieldsModifier and TypeFieldDescriptionprivate final int
private final Constructor
<T> (package private) static final ThreadLocal
<Object[]> private final boolean
private final int
private final int
-
Constructor Summary
ConstructorsConstructorDescriptionJCasFsGenerator
(int type, Constructor<T> c, boolean isSubtypeOfAnnotationBase, int sofaNbrFeatCode, int annotSofaFeatCode) -
Method Summary
Modifier and TypeMethodDescriptionprivate T
doCreateFS
(int addr, CASImpl casView) private int
getSofaNbr
(int addr, CASImpl casView) private void
logAndThrow
(Exception e, JCasImpl jcasView)
-
Field Details
-
initArgsThreadLocal
-
type
private final int type -
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
- Specified by:
createFS
in interfaceFSGenerator<T extends TOP>
-
doCreateFS
-
logAndThrow
-
getSofaNbr
-