public class JCasRegistry
extends java.lang.Object
Constructor and Description |
---|
JCasRegistry() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Class |
getClassForIndex(int aIndex)
Gets the JCas cover class for a given index.
|
static boolean |
getFeatOkTst(java.lang.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(java.lang.Class aJCasCoverClass)
Registers a JCas cover class with this registry.
|
public static int register(java.lang.Class aJCasCoverClass)
aJCasCoverClass
- the class to registerpublic static boolean getFeatOkTst(java.lang.String fullyQualTypeName)
This is reserved for future use; it currently always returns true.
fullyQualTypeName
- fully qualified type namepublic static int getNumberOfRegisteredClasses()
public static java.lang.Class getClassForIndex(int aIndex)
aIndex
- the indexaIndex
during its registration,
null
if none.Copyright © 2006–2014 The Apache Software Foundation. All rights reserved.