|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.uima.jcas.JCasRegistry
public class JCasRegistry
Maintains a registry of JCas cover classes that have been loaded. Methods on this class are called from JCas cover classes (that is, classes generated by JCasGen). They are not intended to be called directly from user-written code.
Constructor Summary | |
---|---|
JCasRegistry()
|
Method Summary | |
---|---|
static Class |
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 aJCasCoverClass)
Registers a JCas cover class with this registry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JCasRegistry()
Method Detail |
---|
public static int register(Class aJCasCoverClass)
public static boolean getFeatOkTst(String fullyQualTypeName)
This is reserved for future use; it currently always returns true.
public static int getNumberOfRegisteredClasses()
public static Class getClassForIndex(int aIndex)
aIndex
- the index
aIndex
during its registration,
null
if none.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |