Uses of Interface
org.apache.uima.cas.impl.FsGenerator3
-
Packages that use FsGenerator3 Package Description org.apache.uima.cas.impl Implementation and Low-Level API for the CAS Interfaces. -
-
Uses of FsGenerator3 in org.apache.uima.cas.impl
Fields in org.apache.uima.cas.impl declared as FsGenerator3 Modifier and Type Field Description private FsGenerator3[]
CASImpl.SharedViewData. baseGenerators
When generating a new instance of a FS in a PEAR where there's an alternate JCas class impl, generate the base version, and make the alternate a trampoline to it.(package private) FsGenerator3
FSClassRegistry.JCasClassInfo. generator
private FsGenerator3[]
CASImpl.SharedViewData. generators
The current (active, switches at Pear boundaries) FsGenerators (excluding array-generators) key = type code read-only, unsynchronized for this CAS Cache for setting this kept in TypeSystemImpl, by classloader - shared among all CASs that use that Type System and class loader -- in turn, initialized from FSClassRegistry, once per classloader / typesystem combo Pear generators are mostly null except for instances where the PEAR has redefined the JCas cover classMethods in org.apache.uima.cas.impl that return FsGenerator3 Modifier and Type Method Description private static FsGenerator3
FSClassRegistry. createGenerator(java.lang.Class<?> jcasClass, java.lang.invoke.MethodHandles.Lookup lookup)
Return a Functional Interface for a generator for creating instances of a type.(package private) static FsGenerator3[]
FSClassRegistry. getGeneratorsForClassLoader(java.lang.ClassLoader cl, boolean isPear, TypeSystemImpl tsi)
called infrequently to set up cache Only called when a type system has not had generators for a particular class loader.FsGenerator3[]
TypeSystemImpl. getGeneratorsForClassLoader(java.lang.ClassLoader cl, boolean isPear)
Called when switching or initializing CAS's shared-view-data instance of FsGenerator[] generators are kept in a map, unique for each type system, keyed by classloader.Methods in org.apache.uima.cas.impl with parameters of type FsGenerator3 Modifier and Type Method Description private TOP
CASImpl. createFsFromGenerator(FsGenerator3[] gs, TypeImpl ti)
private static void
FSClassRegistry. getGeneratorsForTypeAndSubtypes(TypeImpl ti, java.util.Map<java.lang.String,FSClassRegistry.JCasClassInfo> t2jcci, boolean isPear, java.lang.ClassLoader cl, FsGenerator3[] r, TypeSystemImpl tsi)
private static boolean
FSClassRegistry. isAllNull(FsGenerator3[] r)
private TOP
CASImpl. pearConvert(TOP fs, FsGenerator3 g)
Inner method - after determining there is a generator First see if already have generated the pear version, and if so, use that.Constructors in org.apache.uima.cas.impl with parameters of type FsGenerator3 Constructor Description JCasClassInfo(java.lang.Class<? extends TOP> jcasClass, FsGenerator3 generator, int jcasType)
-