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.ObjectFeatureStructure. clone()Creates a copy of this feature structure.ArrayFSCAS. createArrayFS(int length)Create a new feature structure array.BooleanArrayFSCAS. createBooleanArrayFS(int length)Create a new Boolean array.ByteArrayFSCAS. createByteArrayFS(int length)Create a new Byte array.DoubleArrayFSCAS. createDoubleArrayFS(int length)Create a new Double array.FeatureValuePathCAS. createFeatureValuePath(java.lang.String featureValuePath)Create a feature-value path from a string.FloatArrayFSCAS. createFloatArrayFS(int length)Create a new int array.<T extends FeatureStructure>
TCAS. createFS(Type type)Create a new FeatureStructure.IntArrayFSCAS. createIntArrayFS(int length)Create a new int array.LongArrayFSCAS. createLongArrayFS(int length)Create a new Long array.ShortArrayFSCAS. createShortArrayFS(int length)Create a new Short array.StringArrayFSCAS. 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.booleanFeatureStructure. getBooleanValue(Feature feat)Get the boolean value of a feature.byteFeatureStructure. getByteValue(Feature feat)Get the byte value of a feature.doubleFeatureStructure. getDoubleValue(Feature feat)Get the double value of a feature.FeatureStructureFeatureStructure. getFeatureValue(Feature feat)Get a feature value.java.lang.StringFeatureStructure. getFeatureValueAsString(Feature feat)Get the value of the feature as a string if the type of the feature is one of the primitive type.floatFeatureStructure. 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.intFeatureStructure. getIntValue(Feature feat)Get the int value of a feature.longFeatureStructure. getLongValue(Feature feat)Get the long value of a feature.shortFeatureStructure. getShortValue(Feature feat)Get the short value of a feature.java.lang.StringFeatureStructure. getStringValue(Feature f)Get the string value under a feature.TypeSystemCAS. getTypeSystem()Return the type system of this CAS instance.voidFeatureStructure. setBooleanValue(Feature feat, boolean i)Set the boolean value of a feature.voidFeatureStructure. setByteValue(Feature feat, byte i)Set the byte (8 bit) value of a feature.voidCAS. setDocumentLanguage(java.lang.String languageCode)Sets the language for this document.voidCAS. setDocumentText(java.lang.String text)Set the document text.voidFeatureStructure. setDoubleValue(Feature feat, double i)Set the double value of a feature.voidFeatureStructure. setFeatureValue(Feature feat, FeatureStructure fs)Set a feature value to another FS.voidFeatureStructure. 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.voidFeatureStructure. setFloatValue(Feature feat, float f)Set the float value of a feature.voidFeatureStructure. setIntValue(Feature feat, int i)Set the int value of a feature.voidSofaFS. setLocalSofaData(java.lang.String aString)Set the Local Subject of Analysis to be a String.voidSofaFS. setLocalSofaData(FeatureStructure aFS)Set the Local Subject of Analysis to be a predefined ArrayFS.voidFeatureStructure. setLongValue(Feature feat, long i)Set the long (64 bit) value of a feature.voidSofaFS. setRemoteSofaURI(java.lang.String aURI)Set the URI for a Remote Subject of Analysis.voidFeatureStructure. setShortValue(Feature feat, short i)Set the short (16 bit) value of a feature.voidCAS. setSofaDataArray(FeatureStructure array, java.lang.String mime)Set the Sofa data as an ArrayFS.voidCAS. setSofaDataString(java.lang.String text, java.lang.String mimetype)Set the document text.voidCAS. setSofaDataURI(java.lang.String uri, java.lang.String mime)Set the Sofa data as a URI.voidFeatureStructure. setStringValue(Feature feat, java.lang.String s)Set the string value of a feature.voidFeatureValuePath. 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 voidCASImpl. checkArrayPreconditions(int len)java.lang.ObjectFeatureStructureImpl. clone()BooleanArrayFSCASImpl. createBooleanArrayFS(int length)ByteArrayFSCASImpl. createByteArrayFS(int length)DoubleArrayFSCASImpl. createDoubleArrayFS(int length)FeatureValuePathCASImpl. createFeatureValuePath(java.lang.String featureValuePath)LongArrayFSCASImpl. createLongArrayFS(int length)ShortArrayFSCASImpl. createShortArrayFS(int length)booleanFeatureStructureImpl. getBooleanValue(Feature feat)byteFeatureStructureImpl. getByteValue(Feature feat)AnnotationTreeNode<T>AnnotationTreeNodeImpl. getChild(int i)doubleFeatureStructureImpl. getDoubleValue(Feature feat)static FeatureValuePathImplFeatureValuePathImpl. getFeaturePath(java.lang.String featurePath)FeatureStructureFeatureStructureImpl. getFeatureValue(Feature feat)java.lang.StringFeatureStructureImpl. getFeatureValueAsString(Feature feat)floatFeatureStructureImpl. getFloatValue(Feature feat)longFeatureStructureImpl. getLongValue(Feature feat)shortFeatureStructureImpl. getShortValue(Feature feat)java.lang.StringFeatureStructureImpl. getStringValue(Feature f)SerialFormatCASImpl. reinit(java.io.InputStream istream)--------------------------------------------------------------------- see Blob Format in CASSerializer This reads in and deserializes CAS data from a stream.SerialFormatCASImpl. 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.voidFeatureStructureImpl. setBooleanValue(Feature feat, boolean b)voidFeatureStructureImpl. setByteValue(Feature feat, byte val)voidFeatureStructureImpl. setDoubleValue(Feature feat, double val)voidFeatureStructureImpl. setFeatureValueFromString(Feature feat, java.lang.String s)voidFeatureStructureImpl. setLongValue(Feature feat, long val)voidFeatureStructureImpl. setShortValue(Feature feat, short val)voidCASImpl. setSofaDataArray(FeatureStructure array, java.lang.String mime)voidCASImpl. setSofaDataString(java.lang.String text, java.lang.String mime)voidCASImpl. setSofaDataURI(java.lang.String uri, java.lang.String mime)voidFeatureValuePathImpl. 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 FeatureValuePathJCas. 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.TypeSystemJCas. getTypeSystem()Return the type system of this CAS instance.voidJCas. setDocumentLanguage(java.lang.String languageCode)Sets the language for this document.voidJCas. setDocumentText(java.lang.String text)Set the document text.voidJCas. setSofaDataArray(FeatureStructure array, java.lang.String mime)Set the Sofa data as an ArrayFS.voidJCas. setSofaDataString(java.lang.String text, java.lang.String mimetype)Set the document text.voidJCas. 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 FeatureValuePathJCasImpl. createFeatureValuePath(java.lang.String featureValuePath)<T extends Annotation>
AnnotationIndex<T>JCasImpl. getAnnotationIndex(int type)<T extends Annotation>
AnnotationIndex<T>JCasImpl. getAnnotationIndex(Type type)voidJCasImpl. setDocumentLanguage(java.lang.String language)voidJCasImpl. setDocumentText(java.lang.String text)voidJCasImpl. setSofaDataArray(FeatureStructure array, java.lang.String mime)voidJCasImpl. setSofaDataString(java.lang.String text, java.lang.String mime)voidJCasImpl. setSofaDataURI(java.lang.String uri, java.lang.String mime)
-