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).
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 JCasModifier and TypeMethodDescriptionabstract void
This method should be overriden by subclasses.abstract void
This method should be overridden by subclasses.void
Accepts the processor. -
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
Methods in org.apache.uima.cas.impl that return JCasMethods in org.apache.uima.cas.impl with parameters of type JCasModifier and TypeMethodDescriptionvoid
FeatureStructureImplC.addToIndexes
(JCas jcas) add this FS to indexes in a specific view, perhaps different from the creation viewvoid
FeatureStructureImplC.removeFromIndexes
(JCas jcas) remove this FS from indexes in a specific view, perhaps different from the view where this was created. -
Uses of JCas in org.apache.uima.examples
Constructors in org.apache.uima.examples with parameters of type JCas -
Uses of JCas in org.apache.uima.flow
Methods 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 JCasModifier and TypeFieldDescriptionfinal JCas
TOP_Type.jcas
Deprecated.reference to the Java Cas rootMethods in org.apache.uima.jcas.cas with parameters of type JCasModifier and TypeMethodDescriptionstatic BooleanArray
static ByteArray
static DoubleArray
static FloatArray
static FloatList
Create an FloatList from an existing array of Feature Structuresstatic <U extends FeatureStructure>
FSArray<U>FSArray.create
(JCas jcas, FeatureStructure[] a) Convenience - create a FSArray from an existing FeatureStructure[]static <E extends TOP,
F extends FeatureStructure>
FSArrayList<E>Convenience - create a FSArrayList from an existing Array.static <U extends TOP,
E extends FeatureStructure>
FSList<U>Create an FSList from an existing array of Feature Structuresstatic IntegerArray
static IntegerArrayList
Convenience - create a IntegerArrayList from an existing array.static IntegerList
Create an IntegerList from an existing array of intsstatic LongArray
static ShortArray
static StringArray
static StringList
Create an StringList from an existing array of StringsConstructors in org.apache.uima.jcas.cas with parameters of type JCasModifierConstructorDescriptionAnnotationBase
(JCas jcas) protected
AnnotationBase
(JCas jcas, int aId) Used to create temporary marker annotations.AnnotationBase_Type
(JCas jcas, Type casType) Deprecated.BooleanArray
(JCas jcas, int length) Make a new BooleanArray of given sizeMake a new ByteArray of given sizeDoubleArray
(JCas jcas, int length) Make a new DoubleArray of given sizeEmptyFloatList
(JCas jcas) EmptyFSList
(JCas jcas) EmptyIntegerList
(JCas jcas) EmptyStringList
(JCas jcas) FloatArray
(JCas jcas, int length) Make a new FloatArray of given sizeConstructs an instance of a subtype of FSArray having the component type clazz Note: the array with this component type must already be specified in the type system declaration as a feature whose range is FSArray with the specified elementType.Make a new FSArray of given sizeFSArrayList
(JCas jcas) FSArrayList
(JCas jcas, int length) Make a new ArrayList with an initial size .Make a new HashSet with an initial size .FSLinkedHashSet
(JCas jcas) FSLinkedHashSet
(JCas jcas, int length) Make a new FSLinkedHashSet with an initial size .Make a new Int2FS map with an initial capacity.IntegerArray
(JCas jcas, int length) Make a new IntegerArray of given sizeIntegerArrayList
(JCas jcas) IntegerArrayList
(JCas jcas, int length) Make a new ArrayList with an initial sizeIntegerList
(JCas jcas) Make a new LongArray of given sizeNonEmptyFloatList
(JCas jcas) NonEmptyFloatList
(JCas jcas, float v) Generate a NonEmpty node with the specified head with the empty node as the tailNonEmptyFloatList
(JCas jcas, float v, FloatList tail) Generate a NonEmpty node with the specified head and tailNonEmptyFSList
(JCas jcas) NonEmptyFSList
(JCas jcas, T head) Generate a NonEmpty node with the specified head with the empty node as the tailNonEmptyFSList
(JCas jcas, T head, FSList<?> tail) Generate a NonEmpty node with the specified head and tailNonEmptyIntegerList
(JCas jcas) NonEmptyIntegerList
(JCas jcas, int v) Generate a NonEmpty node with the specified head with the empty node as the tailNonEmptyIntegerList
(JCas jcas, int v, IntegerList tail) Generate a NonEmpty node with the specified head and tailNonEmptyStringList
(JCas jcas) NonEmptyStringList
(JCas jcas, String head) Generate a NonEmpty node with the specified head with the empty node as the tailNonEmptyStringList
(JCas jcas, String head, StringList tail) Generate a NonEmpty node with the specified head and tailShortArray
(JCas jcas, int length) Make a new ShortArray of given sizeStringArray
(JCas jcas, int length) Make a new StringArray of given sizeStringList
(JCas jcas) This version is used by user code new XXX(jcas)Deprecated.protected
Deprecated. -
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.Methods in org.apache.uima.jcas.impl that return JCasMethods in org.apache.uima.jcas.impl that return types with arguments of type JCasModifier and TypeMethodDescriptionJCasImpl.getViewIterator()
JCasImpl.getViewIterator
(String localViewNamePrefix) -
Uses of JCas in org.apache.uima.jcas.tcas
Methods in org.apache.uima.jcas.tcas with parameters of type JCasModifier and TypeMethodDescriptionstatic Annotation
Annotation._createMarkerAnnotation
(JCas aJCas, int aBegin, int aEnd) For internal use bySelectFSs_impl
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) Deprecated.DocumentAnnotation
(JCas jcas) -
Uses of JCas in org.apache.uima.util
Methods 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()
.