Uses of Class
org.apache.uima.cas.CASRuntimeException
-
Packages that use CASRuntimeException Package Description org.apache.uima.cas Common Analysis System (CAS) Interfaces.org.apache.uima.cas.impl Implementation and Low-Level API for the CAS Interfaces.org.apache.uima.cas.text Text Common Annotation System (TCAS) Interfaces.org.apache.uima.jcas Interfaces for accessing the JCAS.org.apache.uima.jcas.impl Provides the classes that support the Java Cas Model (JCM). -
-
Uses of CASRuntimeException in org.apache.uima.cas
Methods in org.apache.uima.cas that throw CASRuntimeException Modifier and Type Method Description java.lang.Object
FeatureStructure. clone()
Creates a copy of this feature structure.ArrayFS
CAS. createArrayFS(int length)
Create a new feature structure array.BooleanArrayFS
CAS. createBooleanArrayFS(int length)
Create a new Boolean array.ByteArrayFS
CAS. createByteArrayFS(int length)
Create a new Byte array.DoubleArrayFS
CAS. createDoubleArrayFS(int length)
Create a new Double array.FeatureValuePath
CAS. createFeatureValuePath(java.lang.String featureValuePath)
Create a feature-value path from a string.FloatArrayFS
CAS. createFloatArrayFS(int length)
Create a new int array.<T extends FeatureStructure>
TCAS. createFS(Type type)
Create a new FeatureStructure.IntArrayFS
CAS. createIntArrayFS(int length)
Create a new int array.LongArrayFS
CAS. createLongArrayFS(int length)
Create a new Long array.ShortArrayFS
CAS. createShortArrayFS(int length)
Create a new Short array.StringArrayFS
CAS. createStringArrayFS(int length)
Create a new String array.<T extends AnnotationFS>
AnnotationIndex<T>CAS. getAnnotationIndex(Type type)
Get the standard annotation index restricted to a specific annotation type.boolean
FeatureStructure. getBooleanValue(Feature feat)
Get the boolean value of a feature.byte
FeatureStructure. getByteValue(Feature feat)
Get the byte value of a feature.double
FeatureStructure. getDoubleValue(Feature feat)
Get the double value of a feature.FeatureStructure
FeatureStructure. getFeatureValue(Feature feat)
Get a feature value.java.lang.String
FeatureStructure. getFeatureValueAsString(Feature feat)
Get the value of the feature as a string if the type of the feature is one of the primitive type.float
FeatureStructure. getFloatValue(Feature feat)
Get the float value of a feature.<T extends FeatureStructure>
FSIndex<T>FSIndexRepository. getIndex(java.lang.String label, Type type)
Retrieve an index according to a label and a type.int
FeatureStructure. getIntValue(Feature feat)
Get the int value of a feature.long
FeatureStructure. getLongValue(Feature feat)
Get the long value of a feature.short
FeatureStructure. getShortValue(Feature feat)
Get the short value of a feature.java.lang.String
FeatureStructure. getStringValue(Feature f)
Get the string value under a feature.TypeSystem
CAS. getTypeSystem()
Return the type system of this CAS instance.void
FeatureStructure. setBooleanValue(Feature feat, boolean i)
Set the boolean value of a feature.void
FeatureStructure. setByteValue(Feature feat, byte i)
Set the byte (8 bit) value of a feature.void
CAS. setDocumentLanguage(java.lang.String languageCode)
Sets the language for this document.void
CAS. setDocumentText(java.lang.String text)
Set the document text.void
FeatureStructure. setDoubleValue(Feature feat, double i)
Set the double value of a feature.void
FeatureStructure. setFeatureValue(Feature feat, FeatureStructure fs)
Set a feature value to another FS.void
FeatureStructure. setFeatureValueFromString(Feature feat, java.lang.String s)
Sets the value of a feature from a string input if the feature type is one of the primitive types.void
FeatureStructure. setFloatValue(Feature feat, float f)
Set the float value of a feature.void
FeatureStructure. setIntValue(Feature feat, int i)
Set the int value of a feature.void
SofaFS. setLocalSofaData(java.lang.String aString)
Set the Local Subject of Analysis to be a String.void
SofaFS. setLocalSofaData(FeatureStructure aFS)
Set the Local Subject of Analysis to be a predefined ArrayFS.void
FeatureStructure. setLongValue(Feature feat, long i)
Set the long (64 bit) value of a feature.void
SofaFS. setRemoteSofaURI(java.lang.String aURI)
Set the URI for a Remote Subject of Analysis.void
FeatureStructure. setShortValue(Feature feat, short i)
Set the short (16 bit) value of a feature.void
CAS. setSofaDataArray(FeatureStructure array, java.lang.String mime)
Set the Sofa data as an ArrayFS.void
CAS. setSofaDataString(java.lang.String text, java.lang.String mimetype)
Set the document text.void
CAS. setSofaDataURI(java.lang.String uri, java.lang.String mime)
Set the Sofa data as a URI.void
FeatureStructure. setStringValue(Feature feat, java.lang.String s)
Set the string value of a feature.void
FeatureValuePath. typeSystemInit(int fsType, LowLevelTypeSystem ts)
Deprecated. -
Uses of CASRuntimeException in org.apache.uima.cas.impl
Methods in org.apache.uima.cas.impl that throw CASRuntimeException Modifier and Type Method Description void
CASImpl. checkArrayPreconditions(int len)
java.lang.Object
FeatureStructureImpl. clone()
BooleanArrayFS
CASImpl. createBooleanArrayFS(int length)
ByteArrayFS
CASImpl. createByteArrayFS(int length)
DoubleArrayFS
CASImpl. createDoubleArrayFS(int length)
FeatureValuePath
CASImpl. createFeatureValuePath(java.lang.String featureValuePath)
LongArrayFS
CASImpl. createLongArrayFS(int length)
ShortArrayFS
CASImpl. createShortArrayFS(int length)
boolean
FeatureStructureImpl. getBooleanValue(Feature feat)
byte
FeatureStructureImpl. getByteValue(Feature feat)
AnnotationTreeNode<T>
AnnotationTreeNodeImpl. getChild(int i)
double
FeatureStructureImpl. getDoubleValue(Feature feat)
static FeatureValuePathImpl
FeatureValuePathImpl. getFeaturePath(java.lang.String featurePath)
FeatureStructure
FeatureStructureImpl. getFeatureValue(Feature feat)
java.lang.String
FeatureStructureImpl. getFeatureValueAsString(Feature feat)
float
FeatureStructureImpl. getFloatValue(Feature feat)
long
FeatureStructureImpl. getLongValue(Feature feat)
short
FeatureStructureImpl. getShortValue(Feature feat)
java.lang.String
FeatureStructureImpl. getStringValue(Feature f)
SerialFormat
CASImpl. reinit(java.io.InputStream istream)
--------------------------------------------------------------------- see Blob Format in CASSerializer This reads in and deserializes CAS data from a stream.SerialFormat
CASImpl. reinit(CommonSerDes.Header h, java.io.InputStream istream, CASMgrSerializer casMgrSerializer, CasLoadMode casLoadMode, BinaryCasSerDes6 f6, AllowPreexistingFS allowPreexistingFS, TypeSystemImpl ts)
--------------------------------------------------------------------- Deserialize a binary input stream, after reading the header, and optionally an externally provided type system and index spec used in compressed form 6 serialization previously This reads in and deserializes CAS data from a stream.void
FeatureStructureImpl. setBooleanValue(Feature feat, boolean b)
void
FeatureStructureImpl. setByteValue(Feature feat, byte val)
void
FeatureStructureImpl. setDoubleValue(Feature feat, double val)
void
FeatureStructureImpl. setFeatureValueFromString(Feature feat, java.lang.String s)
void
FeatureStructureImpl. setLongValue(Feature feat, long val)
void
FeatureStructureImpl. setShortValue(Feature feat, short val)
void
CASImpl. setSofaDataArray(FeatureStructure array, java.lang.String mime)
void
CASImpl. setSofaDataString(java.lang.String text, java.lang.String mime)
void
CASImpl. setSofaDataURI(java.lang.String uri, java.lang.String mime)
void
FeatureValuePathImpl. typeSystemInit(int fsType, LowLevelTypeSystem ts)
-
Uses of CASRuntimeException in org.apache.uima.cas.text
Methods in org.apache.uima.cas.text that throw CASRuntimeException Modifier and Type Method Description AnnotationTreeNode<T>
AnnotationTreeNode. getChild(int i)
Get the i-th child of this node. -
Uses of CASRuntimeException in org.apache.uima.jcas
Methods in org.apache.uima.jcas that throw CASRuntimeException Modifier and Type Method Description FeatureValuePath
JCas. createFeatureValuePath(java.lang.String featureValuePath)
Create a feature-value path from a string.<T extends Annotation>
AnnotationIndex<T>JCas. getAnnotationIndex(int type)
Get the standard annotation index restricted to a specific annotation type.<T extends Annotation>
AnnotationIndex<T>JCas. getAnnotationIndex(java.lang.Class<T> clazz)
Get the standard annotation index restricted to a specific annotation type.<T extends Annotation>
AnnotationIndex<T>JCas. getAnnotationIndex(Type type)
Get the standard annotation index restricted to a specific annotation type.TypeSystem
JCas. getTypeSystem()
Return the type system of this CAS instance.void
JCas. setDocumentLanguage(java.lang.String languageCode)
Sets the language for this document.void
JCas. setDocumentText(java.lang.String text)
Set the document text.void
JCas. setSofaDataArray(FeatureStructure array, java.lang.String mime)
Set the Sofa data as an ArrayFS.void
JCas. setSofaDataString(java.lang.String text, java.lang.String mimetype)
Set the document text.void
JCas. setSofaDataURI(java.lang.String uri, java.lang.String mime)
Set the Sofa data as a URI. -
Uses of CASRuntimeException in org.apache.uima.jcas.impl
Methods in org.apache.uima.jcas.impl that throw CASRuntimeException Modifier and Type Method Description FeatureValuePath
JCasImpl. createFeatureValuePath(java.lang.String featureValuePath)
<T extends Annotation>
AnnotationIndex<T>JCasImpl. getAnnotationIndex(int type)
<T extends Annotation>
AnnotationIndex<T>JCasImpl. getAnnotationIndex(Type type)
void
JCasImpl. setDocumentLanguage(java.lang.String language)
void
JCasImpl. setDocumentText(java.lang.String text)
void
JCasImpl. setSofaDataArray(FeatureStructure array, java.lang.String mime)
void
JCasImpl. setSofaDataString(java.lang.String text, java.lang.String mime)
void
JCasImpl. setSofaDataURI(java.lang.String uri, java.lang.String mime)
-