Uses of Class
org.apache.uima.cas.CASRuntimeException
Packages that use CASRuntimeException
Package
Description
Common Analysis System(CAS) Interfaces
Implementation and Low-Level API for the CAS Interfaces.
Text Common Annotation System (TCAS) Interfaces.
Interfaces for accessing the JCAS.
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 CASRuntimeExceptionModifier and TypeMethodDescriptionFeatureStructure.clone()Creates a copy of this feature structure.CAS.createArrayFS(int length) Create a new feature structure array.CAS.createBooleanArrayFS(int length) Create a new Boolean array.CAS.createByteArrayFS(int length) Create a new Byte array.CAS.createDoubleArrayFS(int length) Create a new Double array.CAS.createFeatureValuePath(String featureValuePath) Create a feature-value path from a string.CAS.createFloatArrayFS(int length) Create a new int array.<T extends FeatureStructure>
TCreate a new FeatureStructure.CAS.createIntArrayFS(int length) Create a new int array.CAS.createLongArrayFS(int length) Create a new Long array.CAS.createShortArrayFS(int length) Create a new Short array.CAS.createStringArrayFS(int length) Create a new String array.default <T extends AnnotationFS>
AnnotationIndex<T>CAS.getAnnotationIndex(Class<T> clazz) Get the standard annotation index restricted to a specific annotation type.<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.FeatureStructure.getFeatureValue(Feature feat) Get a feature value.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.floatFeatureStructure.getFloatValue(Feature feat) Get the float value of a feature.<T extends FeatureStructure>
FSIndex<T>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.FeatureStructure.getStringValue(Feature f) Get the string value under a feature.CAS.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(String languageCode) Sets the language for this document.voidCAS.setDocumentText(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, 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(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.voidFeatureStructure.setShortValue(Feature feat, short i) Set the short (16 bit) value of a feature.voidCAS.setSofaDataArray(FeatureStructure array, String mime) Set the Sofa data as an ArrayFS.voidCAS.setSofaDataString(String text, String mimetype) Set the document text.voidCAS.setSofaDataURI(String uri, String mime) Set the Sofa data as a URI.voidFeatureStructure.setStringValue(Feature feat, 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 CASRuntimeExceptionModifier and TypeMethodDescriptionfinal voidCASImpl.checkArrayPreconditions(int len) FeatureStructureImplC.clone()See http://www.javaworld.com/article/2076332/java-se/how-to-avoid-traps-and-correctly-override-methods-from-java-lang-object.html for suggestions on avoiding bugs in implementing clone Because we have final fields for _intData, _refData, and _id, we can't use clone.CASImpl.createBooleanArrayFS(int length) CASImpl.createByteArrayFS(int length) CASImpl.createDoubleArrayFS(int length) CASImpl.createFeatureValuePath(String featureValuePath) CASImpl.createLongArrayFS(int length) CASImpl.createShortArrayFS(int length) <T extends AnnotationFS>
AnnotationIndex<T>CASImpl.getAnnotationIndex(Type type) AnnotationTreeNodeImpl.getChild(int i) static FeatureValuePathImplFeatureValuePathImpl.getFeaturePath(String featurePath) BinaryCasSerDes.reinit(InputStream istream) see Blob Format in CASSerializer This reads in and deserializes CAS data from a stream.BinaryCasSerDes.reinit(CommonSerDes.Header h, 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.CASImpl.reinit(InputStream istream) --------------------------------------------------------------------- see Blob Format in CASSerializer This reads in and deserializes CAS data from a stream.voidFeatureStructureImplC.setFeatureValueFromString(Feature feat, String s) voidCASImpl.setSofaDataString(String text, String mime) voidCASImpl.setSofaDataURI(String uri, 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 CASRuntimeExceptionModifier and TypeMethodDescriptionAnnotationTreeNode.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 CASRuntimeExceptionModifier and TypeMethodDescriptionJCas.createFeatureValuePath(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(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.JCas.getTypeSystem()Return the type system of this CAS instance.voidJCas.setDocumentLanguage(String languageCode) Sets the language for this document.voidJCas.setDocumentText(String text) Set the document text.voidJCas.setSofaDataArray(FeatureStructure array, String mime) Set the Sofa data as an ArrayFS.voidJCas.setSofaDataString(String text, String mimetype) Set the document text.voidJCas.setSofaDataURI(String uri, 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 CASRuntimeExceptionModifier and TypeMethodDescriptionJCasImpl.createFeatureValuePath(String featureValuePath) <T extends Annotation>
AnnotationIndex<T>JCasImpl.getAnnotationIndex(int type) <T extends Annotation>
AnnotationIndex<T>JCasImpl.getAnnotationIndex(Type type) voidJCasImpl.setDocumentLanguage(String language) voidJCasImpl.setDocumentText(String text) voidJCasImpl.setSofaDataArray(FeatureStructure array, String mime) voidJCasImpl.setSofaDataString(String text, String mime) voidJCasImpl.setSofaDataURI(String uri, String mime)