Uses of Interface
org.apache.uima.cas.impl.FsGenerator3
Packages that use FsGenerator3
Package
Description
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 FsGenerator3Modifier and TypeFieldDescriptionprivate 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) final 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 FsGenerator3Modifier and TypeMethodDescriptionprivate static FsGenerator3
FSClassRegistry.createGenerator
(Class<?> jcasClass, MethodHandles.Lookup lookup) Return a Functional Interface for a generator for creating instances of a type.(package private) static FsGenerator3[]
FSClassRegistry.getGeneratorsForClassLoader
(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.TypeSystemImpl.getGeneratorsForClassLoader
(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 FsGenerator3Modifier and TypeMethodDescriptionprivate TOP
CASImpl.createFsFromGenerator
(FsGenerator3[] gs, TypeImpl ti) private static void
FSClassRegistry.getGeneratorsForTypeAndSubtypes
(TypeImpl ti, Map<String, FSClassRegistry.JCasClassInfo> t2jcci, boolean isPear, 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 FsGenerator3ModifierConstructorDescription(package private)
JCasClassInfo
(Class<? extends TOP> jcasClass, FsGenerator3 generator, int jcasType)