Uses of Interface
org.apache.uima.cas.CAS
-
-
Uses of CAS in org.apache.uima.adapter.vinci
Methods in org.apache.uima.adapter.vinci that return CAS Modifier and Type Method Description CAS
CASTransportable. getCas()
Methods in org.apache.uima.adapter.vinci with parameters of type CAS Modifier and Type Method Description void
VinciAnalysisEngineServiceStub. callProcess(CAS aCAS)
void
VinciBinaryAnalysisEngineServiceStub. callProcess(CAS aCAS)
void
VinciAnalysisEngineServiceStub. callProcessCas(CAS aCAS)
Constructors in org.apache.uima.adapter.vinci with parameters of type CAS Constructor Description CASTransportable(CAS cas, OutOfTypeSystemData outOfTypeSystemData, UimaContext uimaContext, boolean includeDocText)
This constructor is used on the client side, where we have a dedicated CAS instance for the request. -
Uses of CAS in org.apache.uima.analysis_component
Methods in org.apache.uima.analysis_component that return CAS Modifier and Type Method Description protected CAS
CasMultiplier_ImplBase. getEmptyCAS()
Gets an empty CAS that this CAS Multiplier can then populate.Methods in org.apache.uima.analysis_component that return types with arguments of type CAS Modifier and Type Method Description java.lang.Class<CAS>
CasAnnotator_ImplBase. getRequiredCasInterface()
java.lang.Class<CAS>
CasMultiplier_ImplBase. getRequiredCasInterface()
Methods in org.apache.uima.analysis_component with parameters of type CAS Modifier and Type Method Description abstract void
CasAnnotator_ImplBase. process(CAS aCAS)
Inputs a CAS to the AnalysisComponent.abstract void
CasMultiplier_ImplBase. process(CAS aCAS)
This method should be overriden by subclasses. -
Uses of CAS in org.apache.uima.analysis_engine
Methods in org.apache.uima.analysis_engine that return CAS Modifier and Type Method Description CAS
AnalysisProcessData. getCAS()
Deprecated.Gets the Common Analysis System (CAS
), from which the AnalysisEngine obtains the information to be processed, and to which the AnalysisEngine writes new annotation information.CAS
AnalysisEngine. newCAS()
Creates a new Common Analysis System appropriate for this Analysis Engine.CAS
CasIterator. next()
Gets the next CAS from the iterator.Methods in org.apache.uima.analysis_engine with parameters of type CAS Modifier and Type Method Description void
AnalysisEngineServiceStub. callProcess(CAS aCAS)
Performs service call to process an entity.ProcessTrace
AnalysisEngine. process(CAS aCAS)
Invokes this AnalysisEngine's analysis logic.ProcessTrace
AnalysisEngine. process(CAS aCAS, ResultSpecification aResultSpec)
Invokes this AnalysisEngine's analysis logic.void
AnalysisEngine. process(CAS aCAS, ResultSpecification aResultSpec, ProcessTrace aTrace)
Invokes this AnalysisEngine's analysis logic.CasIterator
AnalysisEngine. processAndOutputNewCASes(CAS aCAS)
Processes a CAS, possibly producing multiple CASes as a result. -
Uses of CAS in org.apache.uima.analysis_engine.annotator
Methods in org.apache.uima.analysis_engine.annotator with parameters of type CAS Modifier and Type Method Description void
GenericAnnotator. process(CAS aCAS, ResultSpecification aResultSpec)
Deprecated.Invokes this annotator's analysis logic.void
TextAnnotator. process(CAS aCAS, ResultSpecification aResultSpec)
Deprecated.Invokes this annotator's analysis logic. -
Uses of CAS in org.apache.uima.analysis_engine.asb
Methods in org.apache.uima.analysis_engine.asb with parameters of type CAS Modifier and Type Method Description CasIterator
ASB. process(CAS aCAS)
Invokes the processing of the aggregate on the given input CAS. -
Uses of CAS in org.apache.uima.analysis_engine.asb.impl
Methods in org.apache.uima.analysis_engine.asb.impl with parameters of type CAS Modifier and Type Method Description FlowContainer
FlowControllerContainer. computeFlow(CAS aCAS)
Invokes the FlowController's computeFlow method, returning a Flow object that routes the given CAS through this aggregate.FlowContainer
FlowContainer. newCasProduced(CAS newCAS, java.lang.String producedBy)
CasIterator
ASB_impl. process(CAS aCAS)
Constructors in org.apache.uima.analysis_engine.asb.impl with parameters of type CAS Constructor Description FlowContainer(Flow aFlow, FlowControllerContainer aFlowControllerContainer, CAS aCAS)
-
Uses of CAS in org.apache.uima.analysis_engine.impl
Fields in org.apache.uima.analysis_engine.impl declared as CAS Modifier and Type Field Description protected CAS
AnalysisProcessData_impl. mCAS
Deprecated.The CAS owned by this AnalysisProcessData.Methods in org.apache.uima.analysis_engine.impl that return CAS Modifier and Type Method Description protected CAS
PrimitiveAnalysisEngine_impl. callAnalysisComponentNext()
Calls the Analysis Component's next() method.protected CAS
UimacppAnalysisEngineImpl. callAnalysisComponentNext()
Calls the Analysis Component's next() method.CAS
AnalysisProcessData_impl. getCAS()
Deprecated.CAS
AnalysisEngineImplBase. newCAS()
CAS
PearAnalysisEngineWrapper. newCAS()
CAS
EmptyCasIterator. next()
Methods in org.apache.uima.analysis_engine.impl with parameters of type CAS Modifier and Type Method Description protected void
PrimitiveAnalysisEngine_impl. callAnalysisComponentProcess(CAS aCAS)
Calls the Analysis Component's process method.protected void
UimacppAnalysisEngineImpl. callAnalysisComponentProcess(CAS aCAS)
Calls the Analysis Component's process method.protected void
UimacppAnalysisEngineImpl. enableProhibitedAnnotatorCasFunctions(CAS aCAS, boolean aEnable)
Lock/unlock CAS functions to which Annotators should not have accessProcessTrace
AnalysisEngineImplBase. process(CAS aCAS)
ProcessTrace
AnalysisEngineImplBase. process(CAS aCAS, ResultSpecification aResultSpec)
void
AnalysisEngineImplBase. process(CAS aCAS, ResultSpecification aResultSpec, ProcessTrace aTrace)
ProcessTrace
MultiprocessingAnalysisEngine_impl. process(CAS aCAS)
ProcessTrace
MultiprocessingAnalysisEngine_impl. process(CAS aCAS, ResultSpecification aResultSpec)
void
MultiprocessingAnalysisEngine_impl. process(CAS aCAS, ResultSpecification aResultSpec, ProcessTrace aTrace)
CasIterator
AggregateAnalysisEngine_impl. processAndOutputNewCASes(CAS aCAS)
CasIterator
AnalysisEngineImplBase. processAndOutputNewCASes(CAS aCAS)
CasIterator
MultiprocessingAnalysisEngine_impl. processAndOutputNewCASes(CAS aCAS)
CasIterator
PearAnalysisEngineWrapper. processAndOutputNewCASes(CAS aCAS)
CasIterator
PrimitiveAnalysisEngine_impl. processAndOutputNewCASes(CAS aCAS)
CasIterator
UimacppAnalysisEngineImpl. processAndOutputNewCASes(CAS aCAS)
void
AnalysisEngineImplBase. processCas(CAS aCAS)
void
AnalysisEngineImplBase. processCas(CAS[] aCASes)
Constructors in org.apache.uima.analysis_engine.impl with parameters of type CAS Constructor Description AnalysisProcessData_impl(CAS aCAS, java.util.Properties aPerformanceTuningSettings)
Deprecated.Creates a new AnalysisProcessData_impl from an exsitingCAS
.AnalysisProcessData_impl(CAS aCAS, ProcessTrace aTrace)
Deprecated.Creates a new AnalysisProcessData_impl from exsitingCAS
. -
Uses of CAS in org.apache.uima.analysis_engine.impl.compatibility
Methods in org.apache.uima.analysis_engine.impl.compatibility that return types with arguments of type CAS Modifier and Type Method Description java.lang.Class<CAS>
CasConsumerAdapter. getRequiredCasInterface()
Get the CAS interface required by this CasConsumer. -
Uses of CAS in org.apache.uima.analysis_engine.service.impl
Methods in org.apache.uima.analysis_engine.service.impl that return CAS Modifier and Type Method Description protected CAS
AnalysisEngineService_impl. getCasFromPool(int aTimeout)
Gets a CAS from the CAS Pool.Methods in org.apache.uima.analysis_engine.service.impl with parameters of type CAS Modifier and Type Method Description CasIterator
AnalysisEngineServiceAdapter. processAndOutputNewCASes(CAS aCAS)
void
ServiceDataCargo. unmarshalCas(CAS aCas, boolean aReplaceCasTypeSystem)
Unmarshalls the CAS data in thisServiceDataCargo
into an existingCAS
instance.Constructors in org.apache.uima.analysis_engine.service.impl with parameters of type CAS Constructor Description ServiceDataCargo(CAS aCAS, ProcessTrace aProcessTrace)
Creates a newSerializableAnalysisProcessData
that contains the givenCAS
andProcessTrace
. -
Uses of CAS in org.apache.uima.cas
Methods in org.apache.uima.cas that return CAS Modifier and Type Method Description CAS
CAS. createView(java.lang.String localViewName)
Create a view and its underlying Sofa (subject of analysis).CAS
FeatureStructure. getCAS()
Return the CAS that this FS belongs to.CAS
CAS. getCurrentView()
Get the Cas view that the current component should use.CAS
AnnotationBaseFS. getView()
Gets the CAS view associated with the Sofa that this Annotation is over.CAS
CAS. getView(java.lang.String localViewName)
Get the view for a Sofa (subject of analysis).CAS
CAS. getView(SofaFS aSofa)
Get the view for a Sofa (subject of analysis).Methods in org.apache.uima.cas that return types with arguments of type CAS Modifier and Type Method Description java.util.Iterator<CAS>
CAS. getViewIterator()
Get iterator over all views in this CAS.java.util.Iterator<CAS>
CAS. getViewIterator(java.lang.String localViewNamePrefix)
Get iterator over all views with the given name prefix. -
Uses of CAS in org.apache.uima.cas.admin
Methods in org.apache.uima.cas.admin that return CAS Modifier and Type Method Description CAS
CASMgr. getCAS()
Return a non-admin version of the CAS.Methods in org.apache.uima.cas.admin with parameters of type CAS Modifier and Type Method Description void
CASMgr. setCAS(CAS cas)
-
Uses of CAS in org.apache.uima.cas.impl
Classes in org.apache.uima.cas.impl that implement CAS Modifier and Type Class Description class
CASImpl
Implements the CAS interfaces.Fields in org.apache.uima.cas.impl declared as CAS Modifier and Type Field Description protected CAS
DebugFSLogicalStructure.IndexInfo. cas
Methods in org.apache.uima.cas.impl that return CAS Modifier and Type Method Description static CAS
Serialization. createCAS(CASMgr casMgr, CASSerializer casSer)
Deserialize the data in a CASSerializer into an existing CAS, return the currentview in that Cas.CAS
CASImpl. createView(java.lang.String aSofaID)
CAS
CASImpl. getCAS()
CAS
FeatureStructureImplC. getCAS()
CAS
CASImpl. getCurrentView()
CAS
AnnotationBaseImpl. getView()
see org.apache.uima.cas.AnnotationBase#getView()CAS
CASImpl. getView(int sofaNum)
CAS
CASImpl. getView(java.lang.String aSofaID)
CAS
CASImpl. getView(SofaFS aSofa)
Methods in org.apache.uima.cas.impl that return types with arguments of type CAS Modifier and Type Method Description java.util.Iterator<CAS>
CASImpl. getViewIterator()
java.util.Iterator<CAS>
CASImpl. getViewIterator(java.lang.String localViewNamePrefix)
Methods in org.apache.uima.cas.impl with parameters of type CAS Modifier and Type Method Description static void
XCASDeserializer. deserialize(java.io.InputStream aStream, CAS aCAS)
Deserializes an XCAS from a stream.static void
XCASDeserializer. deserialize(java.io.InputStream aStream, CAS aCAS, boolean aLenient)
Deserializes an XCAS from a stream.static void
XmiCasDeserializer. deserialize(java.io.InputStream aStream, CAS aCAS)
Deserializes a CAS from XMI.static void
XmiCasDeserializer. deserialize(java.io.InputStream aStream, CAS aCAS, boolean aLenient)
Deserializes a CAS from XMI.static void
XmiCasDeserializer. deserialize(java.io.InputStream aStream, CAS aCAS, boolean aLenient, XmiSerializationSharedData aSharedData)
Deserializes a CAS from XMI.static void
XmiCasDeserializer. deserialize(java.io.InputStream aStream, CAS aCAS, boolean aLenient, XmiSerializationSharedData aSharedData, int aMergePoint)
Deserializes a CAS from XMI.static void
XmiCasDeserializer. deserialize(java.io.InputStream aStream, CAS aCAS, boolean aLenient, XmiSerializationSharedData aSharedData, int aMergePoint, AllowPreexistingFS allowPreexistingFS)
Deserializes a CAS from XMI.static SerialFormat
Serialization. deserializeCAS(CAS cas, java.io.InputStream istream)
Deserialize a CAS, in various binary formats, into an existing CAS Note: this form supports deserializing the following binary representations: - plain (uncompressed) - compressed, no type filtering (form 4), Delta and not-delta - compressed, no type filtering (form 6), not-delta only.static BinaryCasSerDes6
Serialization. deserializeCAS(CAS cas, java.io.InputStream istream, TypeSystem tgtTypeSystem, BinaryCasSerDes6.ReuseInfo reuseInfo)
Deserialize a CAS, in various binary formats, into an existing CAS Note: this form supports deserializing the following binary representations: - compressed, type filtering (form 6), delta and not-delta.static BinaryCasSerDes6
Serialization. deserializeCAS(CAS cas, java.io.InputStream istream, TypeSystem tgtTypeSystem, BinaryCasSerDes6.ReuseInfo reuseInfo, AllowPreexistingFS allowPreexisting)
Deserialize a CAS, in various binary formats, into an existing CAS Note: this form supports deserializing the following binary representations: - compressed, type filtering (form 6), delta and not-delta.static DebugFSLogicalStructure.IndexInfo[]
DebugFSLogicalStructure. getIndexes(CAS cas)
static DebugFSLogicalStructure.ViewInfo[]
DebugFSLogicalStructure. getOtherViews(CAS cas)
org.xml.sax.helpers.DefaultHandler
XCASDeserializer. getXCASHandler(CAS cas)
Create a default handler for deserializing an XCAS into thecas
parameter.org.xml.sax.helpers.DefaultHandler
XCASDeserializer. getXCASHandler(CAS cas, OutOfTypeSystemData outOfTypeSystemData)
Create a default handler for deserializing an XCAS into thecas
parameter.org.xml.sax.helpers.DefaultHandler
XmiCasDeserializer. getXmiCasHandler(CAS cas)
Create a default handler for deserializing a CAS from XMI.org.xml.sax.helpers.DefaultHandler
XmiCasDeserializer. getXmiCasHandler(CAS cas, boolean lenient)
Create a default handler for deserializing a CAS from XMI.org.xml.sax.helpers.DefaultHandler
XmiCasDeserializer. getXmiCasHandler(CAS cas, boolean lenient, XmiSerializationSharedData sharedData)
Create a default handler for deserializing a CAS from XMI.org.xml.sax.helpers.DefaultHandler
XmiCasDeserializer. getXmiCasHandler(CAS cas, boolean lenient, XmiSerializationSharedData sharedData, int mergePoint)
Create a default handler for deserializing a CAS from XMI.org.xml.sax.helpers.DefaultHandler
XmiCasDeserializer. getXmiCasHandler(CAS cas, boolean lenient, XmiSerializationSharedData sharedData, int mergePoint, AllowPreexistingFS allow)
Create a default handler for deserializing a CAS from XMI.static void
XCASSerializer. serialize(CAS aCAS, java.io.OutputStream aStream)
Serializes an XCAS to a stream.static void
XCASSerializer. serialize(CAS aCAS, java.io.OutputStream aStream, boolean isFormattedOutput)
Serializes an XCAS to a stream.void
XCASSerializer. serialize(CAS cas, org.xml.sax.ContentHandler contentHandler)
Write the CAS data to a SAX content handler.void
XCASSerializer. serialize(CAS cas, org.xml.sax.ContentHandler contentHandler, boolean encodeDoc)
Write the CAS data to a SAX content handler.void
XCASSerializer. serialize(CAS cas, org.xml.sax.ContentHandler contentHandler, boolean encodeDoc, OutOfTypeSystemData outOfTypeSystemData)
Write the CAS data to a SAX content handler.static void
XmiCasSerializer. serialize(CAS aCAS, java.io.OutputStream aStream)
Serializes a CAS to an XMI stream.static void
XmiCasSerializer. serialize(CAS aCAS, TypeSystem aTargetTypeSystem, java.io.OutputStream aStream)
Serializes a CAS to an XMI stream.static void
XmiCasSerializer. serialize(CAS aCAS, TypeSystem aTargetTypeSystem, java.io.OutputStream aStream, boolean aPrettyPrint, XmiSerializationSharedData aSharedData)
Serializes a CAS to an XMI stream.static void
XmiCasSerializer. serialize(CAS aCAS, TypeSystem aTargetTypeSystem, java.io.OutputStream aStream, boolean aPrettyPrint, XmiSerializationSharedData aSharedData, Marker aMarker)
Serializes a Delta CAS to an XMI stream.void
XmiCasSerializer. serialize(CAS cas, org.xml.sax.ContentHandler contentHandler)
Write the CAS data to a SAX content handler.void
XmiCasSerializer. serialize(CAS cas, org.xml.sax.ContentHandler contentHandler, org.xml.sax.ErrorHandler errorHandler)
Write the CAS data to a SAX content handler.void
XmiCasSerializer. serialize(CAS cas, org.xml.sax.ContentHandler contentHandler, org.xml.sax.ErrorHandler errorHandler, XmiSerializationSharedData sharedData)
Write the CAS data to a SAX content handler.void
XmiCasSerializer. serialize(CAS cas, org.xml.sax.ContentHandler contentHandler, org.xml.sax.ErrorHandler errorHandler, XmiSerializationSharedData sharedData, Marker marker)
Write the CAS data to a SAX content handler.static CASSerializer
Serialization. serializeCAS(CAS cas)
Convert a CAS to a CASSerializer object.static void
Serialization. serializeCAS(CAS cas, java.io.OutputStream ostream)
Serialize a CAS including what's indexed, to an output stream Uses uncompressed binary serializationstatic void
Serialization. serializeCAS(CAS cas, java.io.OutputStream ostream, Marker mark)
Serializes CAS data added or modified after the tracking Marker was created and writes it to the output stream in Delta CAS format using uncompressed binary formatstatic CASSerializer
Serialization. serializeNoMetaData(CAS cas)
Convert a CAS to a CASSerializer object.static void
Serialization. serializeWithCompression(CAS cas, java.lang.Object out)
Serialize in compressed binary form 4static BinaryCasSerDes6.ReuseInfo
Serialization. serializeWithCompression(CAS cas, java.lang.Object out, boolean includeTS, boolean includeTSI)
Serialize in compressed binary with type filtering This method can use type filtering to omit sending those types and/or features not present in the target type system.static void
Serialization. serializeWithCompression(CAS cas, java.lang.Object out, Marker marker)
Serialize in compress binary form 4, only the delta part of a CASstatic BinaryCasSerDes6.ReuseInfo
Serialization. serializeWithCompression(CAS cas, java.lang.Object out, TypeSystem tgtTypeSystem)
Serialize in compressed binary with type filtering This method can use type filtering to omit sending those types and/or features not present in the target type system.static void
Serialization. serializeWithCompression(CAS cas, java.lang.Object out, TypeSystem tgtTypeSystem, Marker mark, BinaryCasSerDes6.ReuseInfo reuseInfo)
Delta Serialize in compressed form, with type filtering This method can use type filtering to omit sending those types and/or features not present in the target type system.void
CASImpl. setCAS(CAS cas)
Constructors in org.apache.uima.cas.impl with parameters of type CAS Constructor Description DefaultFSAnnotationComparator(CAS cas)
IndexInfo(CAS cas, java.lang.String indexName)
IndexInfo(CAS cas, java.lang.String indexName, Type type)
ViewInfo(CAS cas)
Create information about a view for given CAS. -
Uses of CAS in org.apache.uima.collection
Methods in org.apache.uima.collection with parameters of type CAS Modifier and Type Method Description void
StatusCallbackListener. entityProcessComplete(CAS aCas, EntityProcessStatus aStatus)
Called when the processing of each entity has completed.void
CollectionReader. getNext(CAS aCAS)
Gets the next element of the collection.void
CasInitializer. initializeCas(java.lang.Object aObj, CAS aCAS)
Deprecated.Reads content and metadata from an Object and initializes aCAS
.void
CasConsumer_ImplBase. processCas(CAS[] aCASes)
-
Uses of CAS in org.apache.uima.collection.base_cpm
Methods in org.apache.uima.collection.base_cpm with parameters of type CAS Modifier and Type Method Description void
CasObjectProcessor. processCas(CAS aCAS)
Process a single CAS.void
CasObjectProcessor. processCas(CAS[] aCASes)
Processes multiple CASes. -
Uses of CAS in org.apache.uima.collection.impl
Methods in org.apache.uima.collection.impl with parameters of type CAS Modifier and Type Method Description CasData
CasConverter. casContainerToCasData(CAS aContainer)
Convert CAS Container (aka CAS Object) to CAS Datavoid
CasConverter. casDataToCasContainer(CasData aData, CAS aContainer, boolean aLenient)
Convert CAS Data to CAS Container (aka CAS Object) -
Uses of CAS in org.apache.uima.collection.impl.cpm.container
Methods in org.apache.uima.collection.impl.cpm.container with parameters of type CAS Modifier and Type Method Description void
CasObjectNetworkCasProcessorImpl. processCas(CAS aCAS)
Uses configured transport to delegate given CAS to the remote service.void
CasObjectNetworkCasProcessorImpl. processCas(CAS[] aCASes)
Uses configured transport to delegate given CASes to the remote service -
Uses of CAS in org.apache.uima.collection.impl.cpm.container.deployer.socket
Methods in org.apache.uima.collection.impl.cpm.container.deployer.socket that return CAS Modifier and Type Method Description CAS
OFSocketTransportImpl. process(java.net.Socket aSocket, CAS aCas)
CAS
SocketTransport. process(java.net.Socket aSocket, CAS aCas)
Invokes fenced CasProcessor.Methods in org.apache.uima.collection.impl.cpm.container.deployer.socket with parameters of type CAS Modifier and Type Method Description CAS
OFSocketTransportImpl. process(java.net.Socket aSocket, CAS aCas)
CAS
SocketTransport. process(java.net.Socket aSocket, CAS aCas)
Invokes fenced CasProcessor. -
Uses of CAS in org.apache.uima.collection.impl.cpm.engine
Fields in org.apache.uima.collection.impl.cpm.engine declared as CAS Modifier and Type Field Description protected CAS[]
NonThreadedProcessingUnit. casList
protected CAS[]
ProcessingUnit. casList
protected CAS
NonThreadedProcessingUnit. conversionCas
protected CAS
ProcessingUnit. conversionCas
protected CAS[]
NonThreadedProcessingUnit. conversionCasArray
protected CAS[]
ProcessingUnit. conversionCasArray
Methods in org.apache.uima.collection.impl.cpm.engine that return CAS Modifier and Type Method Description CAS
CPECasPool. getCas()
Checks out a CAS from the pool.CAS
CPECasPool. getCas(long aTimeout)
Returns a Cas instance from the pool.CAS[]
WorkUnit. getCas()
CAS
CPECasPool. getCheckedOutCas(int aIndex)
Returns a CAS found in a given position in the list.Methods in org.apache.uima.collection.impl.cpm.engine with parameters of type CAS Modifier and Type Method Description static void
CPMEngine. callEntityProcessCompleteWithCAS(StatusCallbackListener statCL, CAS cas, EntityProcessStatus eps)
Internal use only, public for crss package access.static int
ConsumerCasUtils. getIntFeatValue(CAS aCasView, java.lang.String aTypeS, java.lang.String aFeatS)
Returns an int value of a given Feature Structurestatic java.lang.String
ConsumerCasUtils. getStringFeatValue(CAS aCasView, java.lang.String aTypeS, java.lang.String aFeatS)
Returns a string value of a given Feature Structurestatic FeatureStructure
ConsumerCasUtils. getTcasFS(CAS aCasView, java.lang.String aTypeS)
Returns a Feature Structure of a given typevoid
ArtifactProducer. invalidate(CAS[] aCasList)
void
BoundedWorkQueue. invalidate(CAS[] aCasObjectList)
void
SequencedQueue. invalidate(CAS[] aCasObjectList)
void
CPMEngine. invalidateCASes(CAS[] aCASList)
void
CPECasPool. releaseCas(CAS aCas)
Checks in a CAS to the pool.void
CPMEngine. releaseCASes(CAS[] aCASList)
Releases given cases back to pool.void
WorkUnit. setCas(CAS[] aCas)
-
Uses of CAS in org.apache.uima.collection.impl.cpm.utils
Methods in org.apache.uima.collection.impl.cpm.utils with parameters of type CAS Modifier and Type Method Description static ChunkMetadata
CPMUtils. getChunkMetadata(CAS aCas)
Extract metadata associated with chunk from a given CAS.static int
CPMUtils. getFeatureAsInt(CAS aCas, Feature aFeature, java.lang.String aName)
static java.lang.String
CPMUtils. getFeatureAsString(CAS aCas, Feature aFeature, java.lang.String aName)
Returns a value associated with a given feature -
Uses of CAS in org.apache.uima.flow
Methods in org.apache.uima.flow that return CAS Modifier and Type Method Description protected CAS
CasFlow_ImplBase. getCas()
Gets the CAS being routed by this Flow object.Methods in org.apache.uima.flow that return types with arguments of type CAS Modifier and Type Method Description java.lang.Class<CAS>
CasFlowController_ImplBase. getRequiredCasInterface()
Methods in org.apache.uima.flow with parameters of type CAS Modifier and Type Method Description abstract Flow
CasFlowController_ImplBase. computeFlow(CAS aCAS)
This method must be overriden by subclasses.protected Flow
CasFlow_ImplBase. newCasProduced(CAS newCas, java.lang.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
CasFlow_ImplBase. setCas(CAS aCAS)
Deprecated.this is automatically done by the framework after a new flow object is created -
Uses of CAS in org.apache.uima.flow.impl
Methods in org.apache.uima.flow.impl with parameters of type CAS Modifier and Type Method Description Flow
CapabilityLanguageFlowController. computeFlow(CAS aCAS)
Flow
FixedFlowController. computeFlow(CAS aCAS)
-
Uses of CAS in org.apache.uima.impl
Fields in org.apache.uima.impl with type parameters of type CAS Modifier and Type Field Description protected java.util.Set<CAS>
UimaContext_ImplBase. mOutstandingCASes
CASes that have been requested viaUimaContext_ImplBase.getEmptyCas(Class)
minus the number calls the framework has made toUimaContext_ImplBase.returnedCAS(AbstractCas)
(which indicate that the AnalysisComponent has returned a CAS from its next() method or released the CAS.Methods in org.apache.uima.impl with parameters of type CAS Modifier and Type Method Description static CASImpl
Util. getStartingView(CAS cas, boolean sofaAware, ComponentInfo componentInfo)
static <T extends AbstractCas>
TUtil. setupViewSwitchClassLoaders(CAS cas, boolean sofaAware, ComponentInfo componentInfo, ResourceManager resourceManager, java.lang.Class<T> casInterface)
static AbstractCas
Util. setupViewSwitchClassLoadersLockCas(CAS cas, boolean sofaAware, ComponentInfo componentInfo, ResourceManager resourceManager, java.lang.Class<? extends AbstractCas> casInterface)
-
Uses of CAS in org.apache.uima.jcas
Methods in org.apache.uima.jcas that return CAS Modifier and Type Method Description CAS
JCas. getCas()
-
Uses of CAS in org.apache.uima.jcas.cas
Methods in org.apache.uima.jcas.cas that return CAS Modifier and Type Method Description CAS
TOP. getCAS()
CAS
AnnotationBase_Type. getView(int addr)
CAS
AnnotationBase. getView()
-
Uses of CAS in org.apache.uima.jcas.impl
Methods in org.apache.uima.jcas.impl that return CAS Modifier and Type Method Description CAS
JCasImpl. getCas()
Methods in org.apache.uima.jcas.impl with parameters of type CAS Modifier and Type Method Description static void
JCasImpl. clearData(CAS cas)
-
Uses of CAS in org.apache.uima.resource
Methods in org.apache.uima.resource that return CAS Modifier and Type Method Description CAS
CasManager. createNewCas(java.util.Properties aPerformanceTuningSettings)
Create a new CAS using the CasDefinition stored in this CAS Manager.CAS
CasManager. getCas(java.lang.String aRequestorContextName)
Gets an empty CAS.Methods in org.apache.uima.resource with parameters of type CAS Modifier and Type Method Description AbstractCas
CasManager. getCasInterface(CAS cas, java.lang.Class<? extends AbstractCas> requiredInterface)
Gets a specified interface to a CAS. -
Uses of CAS in org.apache.uima.resource.impl
Methods in org.apache.uima.resource.impl that return CAS Modifier and Type Method Description CAS
CasManager_impl. createNewCas(java.util.Properties aPerformanceTuningSettings)
CAS
CasManager_impl. getCas(java.lang.String aRequestorContextName)
Methods in org.apache.uima.resource.impl that return types with arguments of type CAS Modifier and Type Method Description protected java.util.Map<CAS,CasPool>
CasManager_impl. getCasToCasPoolMap()
Methods in org.apache.uima.resource.impl with parameters of type CAS Modifier and Type Method Description AbstractCas
CasManager_impl. getCasInterface(CAS cas, java.lang.Class<? extends AbstractCas> requiredInterface)
Gets a specified interface to a CAS.static <T extends AbstractCas>
TCasManager_impl. getCasInterfaceStatic(CAS cas, java.lang.Class<T> requiredInterface)
Gets a specified interface to a CAS. -
Uses of CAS in org.apache.uima.resource.metadata
Methods in org.apache.uima.resource.metadata with parameters of type CAS Modifier and Type Method Description boolean
Precondition. evaluate(CAS aCAS)
Determines if this precondition is satisfied by a CAS. -
Uses of CAS in org.apache.uima.resource.metadata.impl
Methods in org.apache.uima.resource.metadata.impl with parameters of type CAS Modifier and Type Method Description boolean
SimplePrecondition_impl. evaluate(CAS aCAS)
-
Uses of CAS in org.apache.uima.test.junit_extension
Methods in org.apache.uima.test.junit_extension that return CAS Modifier and Type Method Description CAS
AnnotatorTester. createCAS()
Creates a new fresh CAS instance which can be used for testing.static CAS
AnnotatorTester. getCASfromXCAS(java.io.File tsFile, java.io.File xcasFile)
create a CAS object from the given XCAS and typesystem filesCAS
AnnotatorTester. performTest(java.lang.String text, java.lang.String language)
performs a test on the initialized annotator.static CAS
AnnotatorTester. performTest(java.lang.String descFilePath, java.lang.String text, java.lang.String language)
performs a test with a special annotator configuration.CAS
AnnotatorTester. performTest(CAS cas)
performs a test on the initialized annotator.Methods in org.apache.uima.test.junit_extension with parameters of type CAS Modifier and Type Method Description static void
AnnotatorTester. checkResult(CAS cas, java.lang.String[] AnnotationTypes, java.io.File refFile, java.io.File testFile)
checkResult compares the analyzed document with the reference output.CAS
AnnotatorTester. performTest(CAS cas)
performs a test on the initialized annotator.void
AnnotationWriter. processCas(CAS aCAS)
-
Uses of CAS in org.apache.uima.tools
Methods in org.apache.uima.tools with parameters of type CAS Modifier and Type Method Description void
RunAE. entityProcessComplete(CAS aCas, EntityProcessStatus aStatus)
-
Uses of CAS in org.apache.uima.tools.components
Methods in org.apache.uima.tools.components with parameters of type CAS Modifier and Type Method Description void
FileSystemCollectionReader. getNext(CAS aCAS)
void
XmlDetagger. process(CAS aCAS)
void
InlineXmlCasConsumer. processCas(CAS aCAS)
Processes the CasContainer which was populated by the TextAnalysisEngines.void
XCasWriterCasConsumer. processCas(CAS aCAS)
Processes the CasContainer which was populated by the TextAnalysisEngines.void
XmiWriterCasConsumer. processCas(CAS aCAS)
Processes the CAS which was populated by the TextAnalysisEngines. -
Uses of CAS in org.apache.uima.tools.cvd
Methods in org.apache.uima.tools.cvd that return CAS Modifier and Type Method Description CAS
MainFrame. getCas()
Methods in org.apache.uima.tools.cvd with parameters of type CAS Modifier and Type Method Description void
AnnotationDisplayCustomizationFrame. init(java.util.Map<java.lang.String,javax.swing.text.Style> styleMap1, CAS cas)
void
MainFrame. setCas(CAS cas)
void
FSTreeModel. update(java.lang.String indexName, FSIndex index, CAS cas1)
-
Uses of CAS in org.apache.uima.tools.docanalyzer
Fields in org.apache.uima.tools.docanalyzer declared as CAS Modifier and Type Field Description protected CAS
DocumentAnalyzer. cas
Methods in org.apache.uima.tools.docanalyzer that return CAS Modifier and Type Method Description protected CAS
DocumentAnalyzer. createCasFromDescriptor(java.lang.String aDescriptorFile)
Creates a CAS from an descriptor.Methods in org.apache.uima.tools.docanalyzer with parameters of type CAS Modifier and Type Method Description void
DocumentAnalyzer. entityProcessComplete(CAS aCas, EntityProcessStatus aStatus)
Constructors in org.apache.uima.tools.docanalyzer with parameters of type CAS Constructor Description AnnotationViewerDialog(javax.swing.JFrame aParentFrame, java.lang.String aDialogTitle, PrefsMediator med, java.io.File aStyleMapFile, java.lang.String aPerformanceStats, TypeSystem aTypeSystem, java.lang.String[] aTypesToDisplay, boolean generatedStyleMap, CAS cas)
AnnotationViewerDialog(javax.swing.JFrame aParentFrame, java.lang.String aDialogTitle, PrefsMediator med, java.io.File aStyleMapFile, java.lang.String aPerformanceStats, TypeSystem aTypeSystem, java.lang.String[] aTypesToDisplay, java.lang.String interactiveTempFN, boolean javaViewerRBisSelected, boolean javaViewerUCRBisSelected, boolean xmlRBisSelected, CAS cas)
Create an AnnotationViewer Dialog -
Uses of CAS in org.apache.uima.tools.stylemap
Methods in org.apache.uima.tools.stylemap with parameters of type CAS Modifier and Type Method Description java.lang.String
StyleMapEditor. launchEditor(AnalysisEngineMetaData aAnalysisEngineMetaData, java.lang.String aStyleMapXml, CAS cas)
Displays the StyleMapEditor GUI and allows the user to edit a style map.void
AnnotationFeaturesViewer. populate(AnalysisEngineDescription analysisEngine, AnalysisEngineMetaData aeMetaData, CAS cas)
Constructors in org.apache.uima.tools.stylemap with parameters of type CAS Constructor Description StyleMapEditor(javax.swing.JFrame aOwner, CAS cas)
Creates a new `Editor. -
Uses of CAS in org.apache.uima.tools.viewer
Methods in org.apache.uima.tools.viewer with parameters of type CAS Modifier and Type Method Description void
CasAnnotationViewer. setCAS(CAS aCAS)
Sets the CAS to be viewed.Constructors in org.apache.uima.tools.viewer with parameters of type CAS Constructor Description CasTreeViewer(CAS aCAS)
Creates a CAS Tree Viewer. -
Uses of CAS in org.apache.uima.uimacpp
Methods in org.apache.uima.uimacpp that return CAS Modifier and Type Method Description protected CAS
UimacppAnalysisComponent. getEmptyCAS()
Methods in org.apache.uima.uimacpp that return types with arguments of type CAS Modifier and Type Method Description java.lang.Class<CAS>
UimacppAnalysisComponent. getRequiredCasInterface()
Methods in org.apache.uima.uimacpp with parameters of type CAS Modifier and Type Method Description void
UimacppEngine. next(CAS segment)
nextvoid
UimacppAnalysisComponent. process(CAS aCAS)
void
UimacppAnalysisComponent. process(CAS cas, ResultSpecification aResultSpec)
void
UimacppEngine. process(ResultSpecification rs, CAS aCas, boolean casIsEmpty)
process the document. -
Uses of CAS in org.apache.uima.util
Methods in org.apache.uima.util that return CAS Modifier and Type Method Description static CAS
CasCreationUtils. createCas(java.util.Collection<? extends MetaDataObject> aComponentDescriptionsOrMetaData)
Creates a new CAS instance for a collection of CAS Processors.static CAS
CasCreationUtils. createCas(java.util.Collection<? extends MetaDataObject> aComponentDescriptionsOrMetaData, java.util.Properties aPerformanceTuningSettings)
Creates a new CAS instance for a collection of CAS Processors.static CAS
CasCreationUtils. createCas(java.util.Collection<? extends MetaDataObject> aComponentDescriptionsOrMetaData, java.util.Properties aPerformanceTuningSettings, ResourceManager aResourceManager)
Creates a new CAS instance for a collection of CAS Processors.static CAS
CasCreationUtils. createCas(java.util.Collection<? extends MetaDataObject> aComponentDescriptionsOrMetaData, TypeSystem aTypeSystem, java.util.Properties aPerformanceTuningSettings)
Creates a new CAS instance for a collection of CAS Processors, which.static CAS
CasCreationUtils. createCas(java.util.Collection<? extends MetaDataObject> aComponentDescriptionsOrMetaData, TypeSystem aTypeSystem, java.util.Properties aPerformanceTuningSettings, ResourceManager aResourceManager)
Creates a new CAS instance for a collection of CAS Processors, which.static CAS
CasCreationUtils. createCas(AnalysisEngineDescription aDescription)
Creates a new CAS instance for an Analysis Engine.static CAS
CasCreationUtils. createCas(AnalysisEngineDescription aDescription, java.util.Properties aPerformanceTuningSettings)
Creates a new CAS instance for an Analysis Engine.static CAS
CasCreationUtils. createCas(AnalysisEngineMetaData aMetaData)
Creates a new CAS instance.static CAS
CasCreationUtils. createCas(TypeSystem aTypeSystem, TypePriorities aTypePriorities, FsIndexDescription[] aFsIndexes, java.util.Properties aPerformanceTuningSettings)
Creates a new CAS instance that reuses an existing type system.static CAS
CasCreationUtils. createCas(TypeSystem aTypeSystem, TypePriorities aTypePriorities, FsIndexDescription[] aFsIndexes, java.util.Properties aPerformanceTuningSettings, ResourceManager aResourceManager)
Creates a new CAS instance that reuses an existing type system.static CAS
CasCreationUtils. createCas(CasDefinition casDef, java.util.Properties performanceTuningSettings)
Create a CAS from a CAS Definition.static CAS
CasCreationUtils. createCas(CasDefinition casDef, java.util.Properties performanceTuningSettings, TypeSystem typeSystem)
Create a CAS from a CAS Definition, but reuse the provided TypeSystem object.static CAS
CasCreationUtils. createCas(ProcessingResourceMetaData aMetaData)
Creates a new CAS instance.static CAS
CasCreationUtils. createCas(TypeSystemDescription aTypeSystem, TypePriorities aTypePriorities, FsIndexDescription[] aFsIndexes)
Creates a new CAS instance.static CAS
CasCreationUtils. createCas(TypeSystemDescription aTypeSystem, TypePriorities aTypePriorities, FsIndexDescription[] aFsIndexes, java.util.Properties aPerformanceTuningSettings)
Creates a new CAS instance.static CAS
CasCreationUtils. createCas(TypeSystemDescription aTypeSystem, TypePriorities aTypePriorities, FsIndexDescription[] aFsIndexes, java.util.Properties aPerformanceTuningSettings, ResourceManager aResourceManager)
Creates a new CAS instance.CAS
CasPool. getCas()
Checks out a CAS from the pool.CAS
CasPool. getCas(long aTimeout)
Checks out a CAS from the pool.Methods in org.apache.uima.util that return types with arguments of type CAS Modifier and Type Method Description protected java.util.Vector<CAS>
CasPool. getAllInstances()
protected java.util.Vector<CAS>
CasPool. getFreeInstances()
Methods in org.apache.uima.util with parameters of type CAS Modifier and Type Method Description static void
CasCopier. copyCas(CAS aSrcCas, CAS aDestCas, boolean aCopySofa)
Does a complete deep copy of one CAS into another CAS.static void
CasCopier. copyCas(CAS aSrcCas, CAS aDestCas, boolean aCopySofa, boolean lenient)
Does a complete deep copy of one CAS into another CAS.void
CasCopier. copyCasView(java.lang.String aSrcCasViewName, CAS aTgtCasView, boolean aCopySofa)
Does a deep copy of the contents of one CAS View into another CAS view, with a possibly different name.void
CasCopier. copyCasView(CAS aSrcCasView, boolean aCopySofa)
Does a deep copy of the contents of one CAS View into another CAS's same-named-view If the destination view already exists in the destination CAS, then it will be the target of the copy.void
CasCopier. copyCasView(CAS aSrcCasView, java.lang.String aTgtCasViewName, boolean aCopySofa)
Does a deep copy of the contents of one CAS View into another CAS view, with a possibly different name.void
CasCopier. copyCasView(CAS aSrcCasView, CAS aTgtCasView, boolean aCopySofa)
Does a deep copy of the contents of one CAS View into another CAS view, with a possibly different name.static void
XmlCasDeserializer. deserialize(java.io.InputStream aStream, CAS aCAS)
Deserializes a CAS from a standoff-XML format.static void
XmlCasDeserializer. deserialize(java.io.InputStream aStream, CAS aCAS, boolean aLenient)
Deserializes a CAS from XMI or XCAS.java.lang.String
CasToInlineXml. format(CAS aCAS)
Formats a CAS as a String.java.lang.String
CasToInlineXml. format(CAS aCAS, FSMatchConstraint aFilter)
Formats a CAS as a String.java.lang.String
TCasFormatter. format(CAS aCAS)
Produces a string representation of a CAS.java.lang.String
TCasFormatter. format(CAS aCAS, FSMatchConstraint aFilter)
Produces a string representation of a CAS.java.lang.String
TCasToInlineXml. format(CAS aCAS)
Deprecated.java.lang.String
TCasToInlineXml. format(CAS aCAS, FSMatchConstraint aFilter)
Deprecated.java.lang.String
CasToInlineXml. generateXML(CAS aCAS)
Generates inline XML from a CAS.java.lang.String
CasToInlineXml. generateXML(CAS aCAS, FSMatchConstraint aFilter)
Generates inline XML from a CAS.void
CasToInlineXml. generateXML(CAS aCAS, FSMatchConstraint aFilter, org.xml.sax.ContentHandler aHandler)
Generates inline XML from a CAS using a passed in ContentHandlerjava.lang.String
TCasToInlineXml. generateXML(CAS aCAS)
Deprecated.java.lang.String
TCasToInlineXml. generateXML(CAS aCAS, FSMatchConstraint aFilter)
Deprecated.static int
ConsumerCasUtils. getIntFeatValue(CAS aCasView, java.lang.String aTypeS, java.lang.String aFeatS)
static java.lang.String
ConsumerCasUtils. getStringFeatValue(CAS aCasView, java.lang.String aTypeS, java.lang.String aFeatS)
static FeatureStructure
ConsumerCasUtils. getTcasFS(CAS aCasView, java.lang.String aTypeS)
static SerialFormat
CasIOUtils. load(java.io.InputStream casInputStream, java.io.InputStream tsiInputStream, CAS aCAS)
Loads a CAS from an Input Stream.static SerialFormat
CasIOUtils. load(java.io.InputStream casInputStream, java.io.InputStream tsiInputStream, CAS aCAS, boolean leniently)
Loads a CAS from an Input Stream.static SerialFormat
CasIOUtils. load(java.io.InputStream casInputStream, java.io.InputStream tsiInputStream, CAS aCAS, CasLoadMode casLoadMode)
Loads a CAS from an Input Stream.static SerialFormat
CasIOUtils. load(java.io.InputStream casInputStream, CAS aCAS)
Loads a Cas from an Input Stream.static SerialFormat
CasIOUtils. load(java.io.InputStream casInputStream, CAS aCAS, TypeSystem typeSystem)
This load variant can be used for loading Form 6 compressed CASes where the type system to use to deserialize is provided as an argument.static SerialFormat
CasIOUtils. load(java.net.URL casUrl, java.net.URL tsiUrl, CAS aCAS, boolean leniently)
Loads a CAS from a URL source.static SerialFormat
CasIOUtils. load(java.net.URL casUrl, java.net.URL tsiUrl, CAS aCAS, CasLoadMode casLoadMode)
Loads a CAS from a URL source.static SerialFormat
CasIOUtils. load(java.net.URL casUrl, CAS aCAS)
Loads a Cas from a URL source.void
CasPool. releaseCas(CAS aCas)
Checks in a CAS to the pool.static void
CasIOUtils. save(CAS aCas, java.io.OutputStream docOS, java.io.OutputStream tsiOS, SerialFormat format)
Write the CAS in the specified format.static void
CasIOUtils. save(CAS aCas, java.io.OutputStream docOS, SerialFormat format)
Write the CAS in the specified format.static void
XmlCasSerializer. serialize(CAS aCAS, java.io.OutputStream aStream)
Serializes a CAS to XMI format and writes it to an output stream.static void
XmlCasSerializer. serialize(CAS aCAS, TypeSystem aTargetTypeSystem, java.io.OutputStream aStream)
Serializes a CAS to XMI format and writes it to an output stream.static void
CasIOUtils. writeTypeSystem(CAS aCas, java.io.OutputStream aOS, boolean includeIndexDefs)
Constructors in org.apache.uima.util with parameters of type CAS Constructor Description CasCopier(CAS aSrcCas, CAS aDestCas)
Creates a new CasCopier that can be used to copy FeatureStructures from one CAS to another.CasCopier(CAS aSrcCas, CAS aDestCas, boolean lenient)
Creates a new CasCopier that can be used to copy FeatureStructures from one CAS to another.
-