Logo Search packages:      
Sourcecode: uimaj version File versions  Download package

Classes | Public Member Functions | Static Public Member Functions | Static Public Attributes | Package Functions | Static Package Functions | Package Attributes | Static Package Attributes | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes

org::apache::uima::cas::impl::CASImpl Class Reference

Inheritance diagram for org::apache::uima::cas::impl::CASImpl:
Inheritance graph
[legend]
Collaboration diagram for org::apache::uima::cas::impl::CASImpl:
Collaboration graph
[legend]

List of all members.

Classes

class  SharedViewData

Public Member Functions

void addFsToIndexes (FeatureStructure fs)
void addSofa (FeatureStructure sofa, String sofaName, String mimeType)
 CASImpl (TypeSystemImpl typeSystem, int initialHeapSize, boolean useJcasCache)
 CASImpl (int initialHeapSize, boolean useJcasCache)
 CASImpl (CASMgrSerializer ser)
 CASImpl ()
final void checkArrayBounds (int fsRef, int pos)
final void checkArrayBounds (int fsRef, int pos, int length)
final void checkArrayPreconditions (int len) throws CASRuntimeException
final void checkTypingConditions (Type domType, Type ranType, Feature feat)
void commitFS (FeatureStructure fs)
void commitTypeSystem ()
AnnotationFS createAnnotation (Type type, int begin, int end)
ArrayFS createArrayFS (int length)
BooleanArrayFS createBooleanArrayFS (int length) throws CASRuntimeException
ByteArrayFS createByteArrayFS (int length) throws CASRuntimeException
DoubleArrayFS createDoubleArrayFS (int length) throws CASRuntimeException
FeaturePath createFeaturePath ()
FeatureValuePath createFeatureValuePath (String featureValuePath) throws CASRuntimeException
FloatArrayFS createFloatArrayFS (int length)
FeatureStructure createFS (Type type)
FeatureStructure createFS (int addr)
IntArrayFS createIntArrayFS (int length)
LongArrayFS createLongArrayFS (int length) throws CASRuntimeException
Marker createMarker ()
ShortArrayFS createShortArrayFS (int length) throws CASRuntimeException
SofaFS createSofa (SofaID sofaID, String mimeType)
StringArrayFS createStringArrayFS (int length)
int createTempArray (int type, int len)
CAS createView (String aSofaID)
final boolean doUseJcasCache ()
void enableReset (boolean flag)
void flush ()
AnnotationIndex< AnnotationFSgetAnnotationIndex ()
AnnotationIndex< AnnotationFSgetAnnotationIndex (Type type)
Type getAnnotationType ()
final int getArrayStartAddress (int addr)
int getArrayValue (int addr, int index)
CASImpl getBaseCAS ()
Feature getBeginFeature ()
boolean getBooleanValue (int addr, int feat)
byte getByteValue (int addr, int feat)
CAS getCAS ()
ConstraintFactory getConstraintFactory ()
CAS getCurrentView ()
AnnotationFS getDocumentAnnotation ()
String getDocumentLanguage ()
String getDocumentText ()
double getDoubleValue (int addr, int feat)
Feature getEndFeature ()
JCas getExistingJCas ()
int getFeatureOffset (int feat)
int getFeatureValue (int addr, int feat)
String getFeatureValueAsString (int addr, int feat)
float getFloatValue (int addr, int feat)
float getFloatValue (int addr)
FSClassRegistry getFSClassRegistry ()
Heap getHeap ()
int getHeapValue (int addr)
FSIndexRepository getIndexRepository ()
FSIndexRepositoryMgr getIndexRepositoryMgr ()
JCas getJCas () throws CASException
JCas getJCas (SofaFS aSofa) throws CASException
JCas getJCas (SofaID aSofaID) throws CASException
ClassLoader getJCasClassLoader ()
long getLongValue (int addr, int feat)
LowLevelCAS getLowLevelCAS ()
short getShortValue (int addr, int feat)
SofaFS getSofa (SofaID sofaID)
SofaFS getSofa ()
FeatureStructure getSofaDataArray ()
InputStream getSofaDataStream (SofaFS aSofa)
InputStream getSofaDataStream ()
String getSofaDataString ()
String getSofaDataURI ()
int getSofaFeat (int addr)
FSIterator< SofaFSgetSofaIterator ()
String getSofaMimeType ()
int getSofaRef ()
String getStringForCode (int stringCode)
String getStringValue (int addr, int feat)
TypeSystem getTypeSystem ()
TypeSystemImpl getTypeSystemImpl ()
TypeSystemMgr getTypeSystemMgr ()
CAS getView (int sofaNum)
CAS getView (String aSofaID)
CAS getView (SofaFS aSofa)
Iterator< CASgetViewIterator ()
Iterator< CASgetViewIterator (String localViewNamePrefix)
String getViewName ()
void initCASIndexes () throws CASException
boolean isAbstractArrayType (Type type)
boolean isAbstractArrayType (int type)
boolean isAnnotationType (Type t)
boolean isArrayType (Type type)
boolean isArrayType (int type)
boolean isBackwardCompatibleCas ()
boolean isBooleanArrayType (Type type)
boolean isBooleanArrayType (int type)
boolean isBooleanType (Type type)
boolean isBooleanType (int type)
boolean isByteArrayType (Type type)
boolean isByteArrayType (int type)
boolean isByteType (Type type)
boolean isByteType (int type)
boolean isDoubleArrayType (Type type)
boolean isDoubleArrayType (int type)
boolean isDoubleType (Type type)
boolean isDoubleType (int type)
boolean isFloatArrayType (Type type)
boolean isFloatArrayType (int type)
boolean isFloatType (Type type)
boolean isFloatType (int type)
boolean isFSArrayType (Type type)
boolean isFSArrayType (int type)
boolean isIntArrayType (Type type)
boolean isIntArrayType (int type)
boolean isIntType (Type type)
boolean isIntType (int type)
boolean isLongArrayType (Type type)
boolean isLongArrayType (int type)
boolean isLongType (Type type)
boolean isLongType (int type)
boolean isShortArrayType (Type type)
boolean isShortArrayType (int type)
boolean isShortType (Type type)
boolean isShortType (int type)
boolean isStringArrayType (Type type)
boolean isStringArrayType (int type)
boolean isStringType (Type type)
boolean isStringType (int type)
boolean isSubtypeOfAnnotationBaseType (int t)
int ll_copyCharBufferValue (int fsRef, int featureCode, char[] buffer, int start)
int ll_createArray (int typeCode, int arrayLength, boolean doChecks)
int ll_createArray (int typeCode, int arrayLength)
int ll_createAuxArray (int typeCode, int arrayLength)
int ll_createBooleanArray (int arrayLength)
int ll_createByteArray (int arrayLength)
int ll_createDoubleArray (int arrayLength)
final int ll_createFS (int typeCode)
final int ll_createFS (int typeCode, boolean doCheck)
int ll_createLongArray (int arrayLength)
int ll_createShortArray (int arrayLength)
int ll_getArraySize (int arrayFsRef)
boolean ll_getBooleanArrayValue (int fsRef, int position)
boolean ll_getBooleanArrayValue (int fsRef, int position, boolean doTypeChecks)
boolean ll_getBooleanValue (int fsRef, int featureCode)
boolean ll_getBooleanValue (int fsRef, int featureCode, boolean doTypeChecks)
byte ll_getByteArrayValue (int fsRef, int position)
byte ll_getByteArrayValue (int fsRef, int position, boolean doTypeChecks)
byte ll_getByteValue (int fsRef, int featureCode)
byte ll_getByteValue (int fsRef, int featureCode, boolean doTypeChecks)
int ll_getCharBufferValueSize (int fsRef, int featureCode)
double ll_getDoubleArrayValue (int fsRef, int position)
double ll_getDoubleArrayValue (int fsRef, int position, boolean doTypeChecks)
double ll_getDoubleValue (int fsRef, int featureCode)
double ll_getDoubleValue (int fsRef, int featureCode, boolean doTypeChecks)
final float ll_getFloatArrayValue (int fsRef, int position)
float ll_getFloatArrayValue (int fsRef, int position, boolean doTypeChecks)
final float ll_getFloatValue (int fsRef, int featureCode)
final float ll_getFloatValue (int fsRef, int featureCode, boolean doTypeChecks)
FeatureStructure ll_getFSForRef (int fsRef)
final int ll_getFSRef (FeatureStructure fsImpl)
int ll_getFSRefType (int fsRef)
int ll_getFSRefType (int fsRef, boolean doChecks)
LowLevelIndexRepository ll_getIndexRepository ()
final int ll_getIntArrayValue (int fsRef, int position)
final int ll_getIntArrayValue (int fsRef, int position, boolean doTypeChecks)
final int ll_getIntValue (int fsRef, int featureCode)
final int ll_getIntValue (int fsRef, int featureCode, boolean doTypeChecks)
long ll_getLongArrayValue (int fsRef, int position)
long ll_getLongArrayValue (int fsRef, int position, boolean doTypeChecks)
long ll_getLongValue (int fsRef, int featureCode)
long ll_getLongValue (int fsRef, int featureCode, boolean doTypeChecks)
long ll_getLongValue (int offset)
final int ll_getRefArrayValue (int fsRef, int position)
int ll_getRefArrayValue (int fsRef, int position, boolean doTypeChecks)
final int ll_getRefValue (int fsRef, int featureCode)
final int ll_getRefValue (int fsRef, int featureCode, boolean doTypeChecks)
short ll_getShortArrayValue (int fsRef, int position)
short ll_getShortArrayValue (int fsRef, int position, boolean doTypeChecks)
short ll_getShortValue (int fsRef, int featureCode, boolean doTypeChecks)
short ll_getShortValue (int fsRef, int featureCode)
CASImpl ll_getSofaCasView (int addr)
final String ll_getStringArrayValue (int fsRef, int position)
String ll_getStringArrayValue (int fsRef, int position, boolean doTypeChecks)
final String ll_getStringValue (int fsRef, int featureCode)
final String ll_getStringValue (int fsRef, int featureCode, boolean doTypeChecks)
final int ll_getTypeClass (int typeCode)
LowLevelTypeSystem ll_getTypeSystem ()
final boolean ll_isRefType (int typeCode)
void ll_setBooleanArrayValue (int fsRef, int position, boolean b)
void ll_setBooleanArrayValue (int fsRef, int position, boolean value, boolean doTypeChecks)
void ll_setBooleanValue (int fsRef, int featureCode, boolean value)
void ll_setBooleanValue (int fsRef, int featureCode, boolean value, boolean doTypeChecks)
void ll_setByteArrayValue (int fsRef, int position, byte value)
void ll_setByteArrayValue (int fsRef, int position, byte value, boolean doTypeChecks)
final void ll_setByteValue (int fsRef, int featureCode, byte value)
void ll_setByteValue (int fsRef, int featureCode, byte value, boolean doTypeChecks)
final void ll_setCharBufferValue (int fsRef, int featureCode, char[] buffer, int start, int length, boolean doTypeChecks)
final void ll_setCharBufferValue (int fsRef, int featureCode, char[] buffer, int start, int length)
void ll_setDoubleArrayValue (int fsRef, int position, double value, boolean doTypeChecks)
void ll_setDoubleArrayValue (int fsRef, int position, double d)
void ll_setDoubleValue (int fsRef, int featureCode, double value, boolean doTypeChecks)
void ll_setDoubleValue (int fsRef, int featureCode, double value)
void ll_setFloatArrayValue (int fsRef, int position, float value, boolean doTypeChecks)
void ll_setFloatArrayValue (int fsRef, int position, float value)
final void ll_setFloatValue (int fsRef, int featureCode, float value)
final void ll_setFloatValue (int fsRef, int featureCode, float value, boolean doTypeChecks)
void ll_setIntArrayValue (int fsRef, int position, int value)
void ll_setIntArrayValue (int fsRef, int position, int value, boolean doTypeChecks)
final void ll_setIntValue (int fsRef, int featureCode, int value, boolean doTypeChecks)
final void ll_setIntValue (int fsRef, int featureCode, int value)
void ll_setLongArrayValue (int fsRef, int position, long value)
void ll_setLongArrayValue (int fsRef, int position, long value, boolean doTypeChecks)
void ll_setLongValue (int fsRef, int featureCode, long value)
void ll_setLongValue (int fsRef, int featureCode, long value, boolean doTypeChecks)
void ll_setRefArrayValue (int fsRef, int position, int value)
void ll_setRefArrayValue (int fsRef, int position, int value, boolean doTypeChecks)
final void ll_setRefValue (int fsRef, int featureCode, int value, boolean doTypeChecks)
final void ll_setRefValue (int fsRef, int featureCode, int value)
void ll_setShortArrayValue (int fsRef, int position, short value)
void ll_setShortArrayValue (int fsRef, int position, short value, boolean doTypeChecks)
void ll_setShortValue (int fsRef, int featureCode, short value, boolean doTypeChecks)
final void ll_setShortValue (int fsRef, int featureCode, short value)
void ll_setStringArrayValue (int fsRef, int position, String value, boolean doTypeChecks)
void ll_setStringArrayValue (int fsRef, int position, String value)
final void ll_setStringValue (int fsRef, int featureCode, String value)
final void ll_setStringValue (int fsRef, int featureCode, String value, boolean doTypeChecks)
void reinit (InputStream istream) throws CASRuntimeException
void reinit (CASSerializer ser)
void reinit (CASCompleteSerializer casCompSer)
void release ()
void removeFsFromIndexes (FeatureStructure fs)
void reset ()
void resetNoQuestions ()
void restoreClassLoaderUnlockCas ()
void setCAS (CAS cas)
void setCurrentComponentInfo (ComponentInfo info)
void setDocumentLanguage (String languageCode)
void setDocumentText (String text)
void setFeatureValue (int addr, int feat, byte v)
void setFeatureValue (int addr, int feat, double s)
void setFeatureValue (int addr, int feat, int val)
void setFeatureValue (int addr, int feat, long s)
void setFeatureValue (int addr, int feat, short s)
void setFeatureValue (int addr, int feat, boolean v)
void setFeatureValueFromString (int fsref, int feat, String value)
void setFloatValue (int addr, int feat, float f)
void setFloatValue (int addr, float f)
void setJCasClassLoader (ClassLoader classLoader)
void setLocalFsGenerators (FSGenerator[] fsGenerators)
void setOwner (CasOwner aCasOwner)
void setSofaDataArray (FeatureStructure array, String mime) throws CASRuntimeException
void setSofaDataString (String text, String mime) throws CASRuntimeException
void setSofaDataURI (String uri, String mime) throws CASRuntimeException
void setSofaFeat (int addr, int sofa)
void setStringValue (int addr, int feat, String s)
int size ()
void switchClassLoader (ClassLoader newClassLoader)
void switchClassLoaderLockCas (Object userCode)
void switchClassLoaderLockCasCL (ClassLoader newClassLoader)
void updateDocumentAnnotation ()
boolean usingBaseClassLoader ()

Static Public Member Functions

static final long double2long (double d)
static final int float2int (float f)
static final float int2float (int i)
static final double long2double (long l)
static void setupTSDefault (TypeSystemImpl ts)

Static Public Attributes

static final int DEFAULT_INITIAL_HEAP_SIZE = 500000
static final String DEFAULT_LANGUAGE_NAME = "x-unspecified"
static final int DEFAULT_RESET_HEAP_SIZE = 5000000
static final int FALSE = 0
static final String FEATURE_BASE_NAME_BEGIN = "begin"
static final String FEATURE_BASE_NAME_END = "end"
static final String FEATURE_BASE_NAME_HEAD = "head"
static final String FEATURE_BASE_NAME_LANGUAGE = "language"
static final String FEATURE_BASE_NAME_SOFA = "sofa"
static final String FEATURE_BASE_NAME_SOFAARRAY = "sofaArray"
static final String FEATURE_BASE_NAME_SOFAID = "sofaID"
static final String FEATURE_BASE_NAME_SOFAMIME = "mimeType"
static final String FEATURE_BASE_NAME_SOFANUM = "sofaNum"
static final String FEATURE_BASE_NAME_SOFASTRING = "sofaString"
static final String FEATURE_BASE_NAME_SOFAURI = "sofaURI"
static final String FEATURE_BASE_NAME_TAIL = "tail"
static final String FEATURE_FULL_NAME_BEGIN
static final String FEATURE_FULL_NAME_END
static final String FEATURE_FULL_NAME_FLOAT_LIST_HEAD
static final String FEATURE_FULL_NAME_FLOAT_LIST_TAIL
static final String FEATURE_FULL_NAME_FS_LIST_HEAD
static final String FEATURE_FULL_NAME_FS_LIST_TAIL
static final String FEATURE_FULL_NAME_INTEGER_LIST_HEAD
static final String FEATURE_FULL_NAME_INTEGER_LIST_TAIL
static final String FEATURE_FULL_NAME_LANGUAGE
static final String FEATURE_FULL_NAME_SOFA
static final String FEATURE_FULL_NAME_SOFAARRAY
static final String FEATURE_FULL_NAME_SOFAID
static final String FEATURE_FULL_NAME_SOFAMIME
static final String FEATURE_FULL_NAME_SOFANUM
static final String FEATURE_FULL_NAME_SOFASTRING
static final String FEATURE_FULL_NAME_SOFAURI
static final String FEATURE_FULL_NAME_STRING_LIST_HEAD
static final String FEATURE_FULL_NAME_STRING_LIST_TAIL
static final String NAME_DEFAULT_SOFA = "_InitialView"
static final String NAME_DEFAULT_TEXT_SOFA = "_InitialView"
static final String NAME_SPACE_UIMA_TCAS = "tcas"
static final int NULL = 0
static final int NULL_FS_REF = 0
static final String SOFA_INDEX_NAME = "SofaIndex"
static final String STD_ANNOTATION_INDEX = "AnnotationIndex"
static final int TRUE = 1
static final int TYPE_CLASS_BOOLEAN = 9
static final int TYPE_CLASS_BOOLEANARRAY = 14
static final int TYPE_CLASS_BYTE = 10
static final int TYPE_CLASS_BYTEARRAY = 15
static final int TYPE_CLASS_DOUBLE = 13
static final int TYPE_CLASS_DOUBLEARRAY = 18
static final int TYPE_CLASS_FLOAT = 2
static final int TYPE_CLASS_FLOATARRAY = 5
static final int TYPE_CLASS_FS = 8
static final int TYPE_CLASS_FSARRAY = 7
static final int TYPE_CLASS_INT = 1
static final int TYPE_CLASS_INTARRAY = 4
static final int TYPE_CLASS_INVALID = 0
static final int TYPE_CLASS_LONG = 12
static final int TYPE_CLASS_LONGARRAY = 17
static final int TYPE_CLASS_SHORT = 11
static final int TYPE_CLASS_SHORTARRAY = 16
static final int TYPE_CLASS_STRING = 3
static final int TYPE_CLASS_STRINGARRAY = 6
static final String TYPE_NAME_ANNOTATION = "Annotation"
static final String TYPE_NAME_ANNOTATION_BASE = "AnnotationBase"
static final String TYPE_NAME_ARRAY_BASE = "ArrayBase"
static final String TYPE_NAME_BOOLEAN = "Boolean"
static final String TYPE_NAME_BOOLEAN_ARRAY = "BooleanArray"
static final String TYPE_NAME_BYTE = "Byte"
static final String TYPE_NAME_BYTE_ARRAY = "ByteArray"
static final String TYPE_NAME_DOCUMENT_ANNOTATION = "DocumentAnnotation"
static final String TYPE_NAME_DOUBLE = "Double"
static final String TYPE_NAME_DOUBLE_ARRAY = "DoubleArray"
static final String TYPE_NAME_EMPTY_FLOAT_LIST = "EmptyFloatList"
static final String TYPE_NAME_EMPTY_FS_LIST = "EmptyFSList"
static final String TYPE_NAME_EMPTY_INTEGER_LIST = "EmptyIntegerList"
static final String TYPE_NAME_EMPTY_STRING_LIST = "EmptyStringList"
static final String TYPE_NAME_FLOAT = "Float"
static final String TYPE_NAME_FLOAT_ARRAY = "FloatArray"
static final String TYPE_NAME_FLOAT_LIST = "FloatList"
static final String TYPE_NAME_FS_ARRAY = "FSArray"
static final String TYPE_NAME_FS_LIST = "FSList"
static final String TYPE_NAME_INTEGER = "Integer"
static final String TYPE_NAME_INTEGER_ARRAY = "IntegerArray"
static final String TYPE_NAME_INTEGER_LIST = "IntegerList"
static final String TYPE_NAME_LIST_BASE = "ListBase"
static final String TYPE_NAME_LONG = "Long"
static final String TYPE_NAME_LONG_ARRAY = "LongArray"
static final String TYPE_NAME_NON_EMPTY_FLOAT_LIST = "NonEmptyFloatList"
static final String TYPE_NAME_NON_EMPTY_FS_LIST = "NonEmptyFSList"
static final String TYPE_NAME_NON_EMPTY_INTEGER_LIST = "NonEmptyIntegerList"
static final String TYPE_NAME_NON_EMPTY_STRING_LIST = "NonEmptyStringList"
static final String TYPE_NAME_SHORT = "Short"
static final String TYPE_NAME_SHORT_ARRAY = "ShortArray"
static final String TYPE_NAME_SOFA = "Sofa"
static final String TYPE_NAME_STRING = "String"
static final String TYPE_NAME_STRING_ARRAY = "StringArray"
static final String TYPE_NAME_STRING_LIST = "StringList"
static final String TYPE_NAME_TOP = "TOP"
static final String UIMA_CAS_PREFIX = NAME_SPACE_UIMA_CAS + TypeSystem.NAMESPACE_SEPARATOR

Package Functions

void addSofaFsToIndex (SofaFS sofa)
int addString (String s)
 CASImpl (TypeSystemImpl typeSystem, int initialHeapSize, boolean useFSCache, boolean useJcasCache)
 CASImpl (CASImpl cas, SofaFS aSofa, boolean useJcasCache)
final void checkFsRef (int fsRef)
void copyFeatures (int trgAddr, int srcAddr) throws CASRuntimeException
void copyFromArray (int[] src, int srcOffset, int addr, int destOffset, int length)
void copyToArray (int addr, int sourceOffset, int[] dest, int destOffset, int length)
public< T extends
FeatureStructure > FSIterator
< T > 
createFilteredIterator (FSIterator< T > it, FSMatchConstraint cons)
SofaFS createInitialSofa (String mimeType)
SofaFS createSofa (String sofaName, String mimeType)
void createStringTableFromArray (String[] stringTable)
public< T extends
FeatureStructure >
ListIterator< T > 
fs2listIterator (FSIterator< T > it)
FSIndexRepository getBaseIndexRepository ()
int getBaseSofaCount ()
ByteHeap getByteHeap ()
ComponentInfo getCurrentComponentInfo ()
MarkerImpl getCurrentMark ()
int[] getDeltaIndexedFSs (MarkerImpl mark)
int[] getIndexedFSs ()
CAS getInitialView ()
LongHeap getLongHeap ()
IntVector getModifiedByteHeapAddrs ()
IntVector getModifiedFSHeapAddrs ()
IntVector getModifiedFSList ()
IntVector getModifiedLongHeapAddrs ()
IntVector getModifiedShortHeapAddrs ()
ShortHeap getShortHeap ()
SofaFS getSofa (int sofaRef)
FSIndexRepository getSofaIndexRepository (SofaFS aSofa)
FSIndexRepository getSofaIndexRepository (int aSofaRef)
StringHeap getStringHeap ()
ArrayList< String > getStringTable ()
final boolean isCreatableType (int typeCode)
boolean isInitialSofaCreated ()
void refreshView (CAS cas, SofaFS aSofa)
void registerInitialSofa ()
void registerView (SofaFS aSofa)
void reinit (int[] heapMetadata, int[] heapArray, String[] stringTable, int[] fsIndex, byte[] byteHeapArray, short[] shortHeapArray, long[] longHeapArray)
void resetStringTable ()
void setArrayValue (final int addr, final int index, final int value) throws ArrayIndexOutOfBoundsException
void setArrayValueFromString (final int addr, final int index, final String value)
void setDocTextFromDeserializtion (String text)
void setSofaIndexRepository (int aSofaRef, FSIndexRepository indxRepos)
void setSofaIndexRepository (SofaFS aSofa, FSIndexRepository indxRepos)

Static Package Functions

 [static initializer]
static String mapName (String name, HashMap< String, String > map)

Package Attributes

FSIndexRepositoryImpl indexRepository
final SharedViewData svd

Static Package Attributes

static final String NAME_SPACE_UIMA_CAS = "cas"

Private Types

enum  ModifiedHeap { FSHEAP, BYTEHEAP, SHORTHEAP, LONGHEAP }

Private Member Functions

final void checkDomTypeConditions (int domTypeCode, int featCode)
final void checkFeature (int featureCode)
final void checkFsRan (int featCode) throws LowLevelException
final void checkFsRefConditions (int fsRef, int featureCode)
void checkInternalCodes (CASMgrSerializer ser) throws CASAdminException
final void checkLowLevelParams (int fsRef, int domType, int ranType, int feat)
final void checkLowLevelParams (int fsRef, int domType, int feat)
final void checkNonArrayConditions (int fsRef, int typeCode, int featureCode)
final void checkPrimitiveArrayConditions (int fsRef, int typeCode, int position)
final void checkTypeAt (int typeCode, int fsRef)
final void checkTypingConditions (int domTypeCode, int ranTypeCode, int featCode)
void clearTrackingMarks ()
AnnotationFS createDocumentAnnotation (int length)
void createIndexRepository ()
void errorMultipleMarkers ()
SofaFS getSofa (String sofaName)
final ArrayList< String > getStringList ()
void initFSClassRegistry ()
final boolean isCreatableArrayType (int typeCode)
void logFSUpdate (int fsaddr, int position, ModifiedHeap whichheap, int howmany)
boolean mySofaIsValid ()
void reinitDeltaIndexedFSs (int[] fsIndex)
void reinitIndexedFSs (int[] fsIndex)
void resetView ()
char swap2 (DataInputStream dis, byte[] buf) throws IOException
int swap4 (DataInputStream dis, byte[] buf) throws IOException
long swap8 (DataInputStream dis, byte[] buf) throws IOException
void throwAccessTypeError (int fsRef, int typeCode)
void verifySofaNameUniqueIfDeserializedViewAdded (int sofaNbr, SofaFS aSofa)

Static Private Member Functions

static void setTypeFinal (Type type)

Private Attributes

final boolean isUsedJcasCache
JCas jcas = null
int mySofaRef = 0

Static Private Attributes

static final int arrayContentOffset = 2
static final int arrayLengthFeatOffset = 1
static final boolean DEFAULT_USE_FS_CACHE = false
static final int resetHeapSize = DEFAULT_RESET_HEAP_SIZE

Detailed Description

Implements the CAS interfaces. This class must be public because we need to be able to create instance of it from outside the package. Use at your own risk. May change without notice.

Definition at line 93 of file CASImpl.java.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index