public class JCasRegistry extends Object
| Constructor and Description | 
|---|
| JCasRegistry() | 
| Modifier and Type | Method and Description | 
|---|---|
| static Class<? extends TOP> | getClassForIndex(int aIndex)Gets the JCas cover class for a given index. | 
| static boolean | getFeatOkTst(String fullyQualTypeName)For a particular type, return true if that type should have run-time checking for use of fields
 defined in the JCas Model which are not present in the CAS. | 
| static int | getNumberOfRegisteredClasses()Gets the number of cover classes that have been registered. | 
| static int | register(Class<? extends TOP> aJCasCoverClass)Registers a JCas cover class with this registry. | 
public static int register(Class<? extends TOP> aJCasCoverClass)
aJCasCoverClass - the class to registerpublic static boolean getFeatOkTst(String fullyQualTypeName)
This is reserved for future use; it currently always returns true.
fullyQualTypeName - fully qualified type namepublic static int getNumberOfRegisteredClasses()
Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.