Uses of Interface
org.apache.uima.jcas.JCas
Packages that use JCas
Package
Description
The Analysis Engine interface, along with supporting
interfaces and exception classes.
The Annotator Interfaces, along with supporting interfaces
and exception classes.
Common Analysis System (CAS) Interfaces.
Implementation and Low-Level API for the CAS Interfaces.
Interfaces for accessing the JCAS.
JCAS model for built-in CAS types
Provides the classes that support the Java Cas Model (JCM).
JCAS model for built-in TCAS types
Utility classes and interfaces used by UIMA components.
-
Uses of JCas in org.apache.uima.analysis_component
Methods in org.apache.uima.analysis_component that return JCasModifier and TypeMethodDescriptionprotected final JCas
JCasMultiplier_ImplBase.getEmptyJCas()
Gets an empty JCas that this CAS Multiplier can then populate.Methods in org.apache.uima.analysis_component that return types with arguments of type JCasModifier and TypeMethodDescriptionJCasAnnotator_ImplBase.getRequiredCasInterface()
JCasMultiplier_ImplBase.getRequiredCasInterface()
Methods in org.apache.uima.analysis_component with parameters of type JCas -
Uses of JCas in org.apache.uima.analysis_engine
Methods in org.apache.uima.analysis_engine that return JCasModifier and TypeMethodDescriptionAnalysisEngine.newJCas()
Similar toAnalysisEngine.newCAS()
but wraps the new CAS objects with the Java-object-basedJCas
interface.JCasIterator.next()
Gets the next JCAS from the iterator.Methods in org.apache.uima.analysis_engine with parameters of type JCasModifier and TypeMethodDescriptionSimilar toAnalysisEngine.process(CAS)
but uses the Java-object-basedJCas
interface instead of the generalCAS
interface.AnalysisEngine.process
(JCas aJCas, ResultSpecification aResultSpec) Similar toAnalysisEngine.process(CAS,ResultSpecification)
but uses the Java-object-basedJCas
interface instead of the generalCAS
interface.void
AnalysisEngine.process
(JCas aJCas, ResultSpecification aResultSpec, ProcessTrace aTrace) Similar toAnalysisEngine.process(CAS, ResultSpecification, ProcessTrace)
but uses the Java-object-basedJCas
interface instead of the generalCAS
interface.AnalysisEngine.processAndOutputNewCASes
(JCas aJCAS) Processes a JCAS, possibly producing multiple JCASes as a result. -
Uses of JCas in org.apache.uima.analysis_engine.annotator
Methods in org.apache.uima.analysis_engine.annotator with parameters of type JCasModifier and TypeMethodDescriptionvoid
JTextAnnotator.process
(JCas aJCas, ResultSpecification aResultSpec) Deprecated.Invokes this annotator's analysis logic. -
Uses of JCas in org.apache.uima.analysis_engine.impl
Methods in org.apache.uima.analysis_engine.impl that return JCasMethods in org.apache.uima.analysis_engine.impl with parameters of type JCasModifier and TypeMethodDescriptionAnalysisEngineImplBase.process
(JCas aJCas, ResultSpecification aResultSpec) void
AnalysisEngineImplBase.process
(JCas aJCas, ResultSpecification aResultSpec, ProcessTrace aTrace) MultiprocessingAnalysisEngine_impl.process
(JCas aJCas, ResultSpecification aResultSpec) void
MultiprocessingAnalysisEngine_impl.process
(JCas aJCas, ResultSpecification aResultSpec, ProcessTrace aTrace) AnalysisEngineImplBase.processAndOutputNewCASes
(JCas aJCas) Default implementation of processAndOutputNewCASes(JCas) method.MultiprocessingAnalysisEngine_impl.processAndOutputNewCASes
(JCas aJCas) -
Uses of JCas in org.apache.uima.cas
Methods in org.apache.uima.cas that return JCas -
Uses of JCas in org.apache.uima.cas.impl
Fields in org.apache.uima.cas.impl declared as JCasMethods in org.apache.uima.cas.impl that return JCas -
Uses of JCas in org.apache.uima.examples
Constructors in org.apache.uima.examples with parameters of type JCasModifierConstructorDescriptionSourceDocumentInformation
(JCas jcas, int begin, int end) SourceDocumentInformation_Type
(JCas jcas, Type casType) initialize variables to correspond with Cas Type and Features -
Uses of JCas in org.apache.uima.flow
Fields in org.apache.uima.flow declared as JCasMethods in org.apache.uima.flow that return JCasModifier and TypeMethodDescriptionprotected JCas
JCasFlow_ImplBase.getJCas()
Gets the JCas being routed by this Flow object.Methods in org.apache.uima.flow that return types with arguments of type JCasMethods in org.apache.uima.flow with parameters of type JCasModifier and TypeMethodDescriptionabstract Flow
JCasFlowController_ImplBase.computeFlow
(JCas aJCas) This method must be overriden by subclasses.protected Flow
JCasFlow_ImplBase.newCasProduced
(JCas newCas, String producedBy) By default, throws an exception to indicate this this Flow object does not support new CASes being produced in the middle of the flow.void
Deprecated.this is done automatically by the framework with the Flow object is created -
Uses of JCas in org.apache.uima.jcas
Methods in org.apache.uima.jcas that return JCasModifier and TypeMethodDescriptionJCas.createView
(String sofaID) Create a view and its underlying Sofa (subject of analysis).Create a JCas view for a Sofa.Get the view for a Sofa (subject of analysis).Get the view for a Sofa (subject of analysis).Methods in org.apache.uima.jcas that return types with arguments of type JCasModifier and TypeMethodDescriptionJCas.getViewIterator()
Get iterator over all views in this JCas.JCas.getViewIterator
(String localViewNamePrefix) Get iterator over all views with the given name prefix. -
Uses of JCas in org.apache.uima.jcas.cas
Fields in org.apache.uima.jcas.cas declared as JCasMethods in org.apache.uima.jcas.cas with parameters of type JCasModifier and TypeMethodDescriptionvoid
TOP.addToIndexes
(JCas jcas) add this FS to indexes in a specific view, perhaps different from the creation viewvoid
TOP.removeFromIndexes
(JCas jcas) remove this FS from indexes in a specific view, perhaps different from the view where this was created.Constructors in org.apache.uima.jcas.cas with parameters of type JCasModifierConstructorDescriptionAnnotationBase
(JCas jcas) AnnotationBase_Type
(JCas jcas, Type casType) BooleanArray
(JCas jcas, int length) Make a new BooleanArray of given sizeBooleanArray_Type
(JCas jcas, Type casType) Make a new ByteArray of given sizeByteArray_Type
(JCas jcas, Type casType) CommonArray_Type
(JCas jcas, Type casType) DoubleArray
(JCas jcas, int length) Make a new DoubleArray of given sizeDoubleArray_Type
(JCas jcas, Type casType) EmptyFloatList
(JCas jcas) EmptyFloatList_Type
(JCas jcas, Type casType) EmptyFSList
(JCas jcas) EmptyFSList_Type
(JCas jcas, Type casType) EmptyIntegerList
(JCas jcas) EmptyIntegerList_Type
(JCas jcas, Type casType) EmptyStringList
(JCas jcas) EmptyStringList_Type
(JCas jcas, Type casType) FloatArray
(JCas jcas, int length) Make a new FloatArray of given sizeFloatArray_Type
(JCas jcas, Type casType) FloatList_Type
(JCas jcas, Type casType) Make a new FSArray of given sizeFSArray_Type
(JCas jcas, Type casType) FSList_Type
(JCas jcas, Type casType) IntegerArray
(JCas jcas, int length) Make a new IntegerArray of given sizeIntegerArray_Type
(JCas jcas, Type casType) IntegerList
(JCas jcas) IntegerList_Type
(JCas jcas, Type casType) Make a new LongArray of given sizeLongArray_Type
(JCas jcas, Type casType) NonEmptyFloatList
(JCas jcas) NonEmptyFloatList_Type
(JCas jcas, Type casType) NonEmptyFSList
(JCas jcas) NonEmptyFSList_Type
(JCas jcas, Type casType) NonEmptyIntegerList
(JCas jcas) NonEmptyIntegerList_Type
(JCas jcas, Type casType) NonEmptyStringList
(JCas jcas) NonEmptyStringList_Type
(JCas jcas, Type casType) ShortArray
(JCas jcas, int length) Make a new ShortArray of given sizeShortArray_Type
(JCas jcas, Type casType) Deprecated.As of v2.0, useJCasImpl.createView(String)
to create a view, which will also create the Sofa for that view.initialize variables to correspond with Cas Type and FeaturesStringArray
(JCas jcas, int length) Make a new StringArray of given sizeStringArray_Type
(JCas jcas, Type casType) StringList
(JCas jcas) StringList_Type
(JCas jcas, Type casType) protected
-
Uses of JCas in org.apache.uima.jcas.impl
Classes in org.apache.uima.jcas.impl that implement JCasModifier and TypeClassDescriptionclass
implements the supporting infrastructure for JCas model linked with a Cas.Fields in org.apache.uima.jcas.impl declared as JCasMethods in org.apache.uima.jcas.impl that return JCasModifier and TypeMethodDescriptionJCasImpl.createView
(String sofaID) static JCas
creates a new JCas instance that corresponds to a CAS instance.Methods in org.apache.uima.jcas.impl that return types with arguments of type JCasModifier and TypeMethodDescriptionJCasImpl.getViewIterator()
JCasImpl.getViewIterator
(String localViewNamePrefix) Constructors in org.apache.uima.jcas.impl with parameters of type JCasModifierConstructorDescription(package private)
JFSIndexRepositoryImpl
(JCas jcas, FSIndexRepository ir) -
Uses of JCas in org.apache.uima.jcas.tcas
Constructors in org.apache.uima.jcas.tcas with parameters of type JCasModifierConstructorDescriptionAnnotation
(JCas jcas) Annotation
(JCas jcas, int begin, int end) Constructor with begin and end passed as argumentsAnnotation_Type
(JCas jcas, Type casType) DocumentAnnotation
(JCas jcas) DocumentAnnotation_Type
(JCas jcas, Type casType) -
Uses of JCas in org.apache.uima.util
Fields in org.apache.uima.util with type parameters of type JCasMethods in org.apache.uima.util that return JCasModifier and TypeMethodDescriptionJCasPool.getJCas()
Checks out a JCas from the pool.JCasPool.getJCas
(long aTimeout) Checks out a JCas from the pool.Methods in org.apache.uima.util that return types with arguments of type JCasMethods in org.apache.uima.util with parameters of type JCasModifier and TypeMethodDescriptionvoid
JCasPool.releaseJCas
(JCas aJCas) Checks in a JCas to the pool.
CAS.getView(String)
followed byCAS.getJCas()
.