Uses of Interface
org.apache.uima.cas.CAS
-
-
Uses of CAS in org.apache.uima.adapter.vinci
Fields in org.apache.uima.adapter.vinci declared as CAS Modifier and Type Field Description private CAS
CASTransportable. myCas
Methods in org.apache.uima.adapter.vinci that return CAS Modifier and Type Method Description CAS
CASTransportable. getCas()
Gets the cas.Methods in org.apache.uima.adapter.vinci with parameters of type CAS Modifier and Type Method Description void
VinciAnalysisEngineServiceStub. callProcess(CAS aCAS)
Call process.void
VinciBinaryAnalysisEngineServiceStub. callProcess(CAS aCAS)
Call process.void
VinciAnalysisEngineServiceStub. callProcessCas(CAS aCAS)
Call process cas.private void
VinciAnalysisEngineServiceStub. doProcess(CAS aCAS)
The actual process call.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 private void
CasAnnotator_ImplBase. checkTypeSystemChange(CAS aCAS)
Checks it the type system of the given CAS is different from the last type system this component was operating on.private void
CasMultiplier_ImplBase. checkTypeSystemChange(CAS aCAS)
Checks it the type system of the given CAS is different from the last type system this component was operating on.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.void
CasProcessor. process(CAS aCas)
Accepts the processor. -
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
Fields in org.apache.uima.analysis_engine.asb.impl declared as CAS Modifier and Type Field Description (package private) CAS
ASB_impl.AggregateCasIterator. mInputCas
The CAS that was input to the Aggregate AE's process method.(package private) CAS
ASB_impl.AggregateCasIterator. nextCas
Holds the next CAS to be returned, if it is known.(package private) CAS
ASB_impl.StackFrame. originalCas
The CAS that was passed as input to the CasMultiplier.Fields in org.apache.uima.analysis_engine.asb.impl with type parameters of type CAS Modifier and Type Field Description (package private) java.util.Set<CAS>
ASB_impl.AggregateCasIterator. activeCASes
Set of CASes that are in circulation (that is, they have been passed to FlowController and the FlowController hasn't yet returned a FinalStep for them).Methods in org.apache.uima.analysis_engine.asb.impl that return CAS Modifier and Type Method Description CAS
ASB_impl.AggregateCasIterator. next()
Gets the next output CAS.private CAS
ASB_impl.AggregateCasIterator. processUntilNextOutputCas()
This is the main execution control method for the aggregate AE.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 AggregateCasIterator(CAS inputCas)
Creates a new AggregateCasIterator for the given input CAS.FlowContainer(Flow aFlow, FlowControllerContainer aFlowControllerContainer, CAS aCAS)
StackFrame(CasIterator casIterator, CAS originalCas, FlowContainer originalCasFlow, java.lang.String lastAeKey)
StackFrame(CasIterator casIterator, CAS originalCas, FlowContainer originalCasFlow, java.lang.String lastAeKey, ParallelStep incompleteParallelStep)
-
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.private CAS
PrimitiveAnalysisEngine_impl.AnalysisComponentCasIterator. mInputCas
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()
CAS
PrimitiveAnalysisEngine_impl.AnalysisComponentCasIterator. next()
CAS
UimacppAnalysisEngineImpl.TafAnalysisComponentCasIterator. 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)
void
AnalysisEngineProcessorStub. process(CAS aCAS)
Performs service call to process an entity.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
AnalysisEngineProcessorAdapter. 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 AnalysisComponentCasIterator(AnalysisComponent aAnalysisComponent, CAS aInputCas)
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 with type parameters of type CAS Modifier and Type Method Description <T extends CAS>
java.util.Iterator<T>CAS. getViewIterator()
Get iterator over all views in this 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()
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(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)
Deprecated. -
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
private CAS
DebugFSLogicalStructure.ViewInfo. cas
Fields in org.apache.uima.cas.impl with type parameters of type CAS Modifier and Type Field Description private java.util.List<CAS>
XCASDeserializer.XCASDeserializerHandler. views
map for index -> cas views,private java.util.List<CAS>
XmiCasDeserializer.XmiCasDeserializerHandler. views
Methods in org.apache.uima.cas.impl with type parameters of type CAS Modifier and Type Method Description <T extends CAS>
java.util.Iterator<T>CASImpl. getViewIterator()
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
CASImpl. getView(int sofaNum)
CAS
CASImpl. getView(java.lang.String aSofaID)
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.lang.String localViewNamePrefix)
Methods in org.apache.uima.cas.impl with parameters of type CAS Modifier and Type Method Description void
FeatureStructureImplC. addToIndexes(CAS cas)
static java.lang.StringBuilder
CasCompare. compareNumberOfFSsByType(CAS cas1, CAS cas2)
Counts and compares the number of Feature Structures, by type, and generates a reportstatic 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
XCASDeserializer. deserialize(java.io.Reader aReader, CAS aCAS, boolean aLenient)
Deserializes an XCAS from a stream.static void
XCASDeserializer. deserialize(org.xml.sax.InputSource aSource, CAS aCAS, boolean aLenient)
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 boolean
CASImpl. isSameCAS(CAS c1, CAS c2)
(package private) void
CASImpl. refreshView(CAS cas, SofaFS aSofa)
void
FeatureStructureImplC. removeFromIndexes(CAS cas)
remove this FS from indexes in a specific view, perhaps different from the view where this was created.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.static void
XCASSerializer. serialize(CAS aCAS, java.io.OutputStream aStream, boolean isFormattedOutput, boolean useXml_1_1)
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.static void
XmiCasSerializer. serialize(CAS aCAS, TypeSystem aTargetTypeSystem, java.io.OutputStream aStream, boolean aPrettyPrint, XmiSerializationSharedData aSharedData, Marker aMarker, boolean useXml_1_1)
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.(package private) void
XmiCasSerializer. serialize(CAS cas, org.xml.sax.ContentHandler contentHandler, XmiCasSerializer.XmiDocSerializer ser)
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)
Deprecated.Constructors in org.apache.uima.cas.impl with parameters of type CAS Constructor Description IndexInfo(CAS cas, java.lang.String indexName)
IndexInfo(CAS cas, java.lang.String indexName, Type type)
SelectFSs_impl(CAS cas)
SelectFSs_impl(FeatureStructure[] source, CAS cas)
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
Methods in org.apache.uima.collection.impl.cpm with parameters of type CAS Modifier and Type Method Description void
StatusCallbackListenerImpl. entityProcessComplete(CAS aCas, EntityProcessStatus aStatus)
Called when the processing of a Document is completed. -
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 private CAS[]
WorkUnit. cas
The cas.private CAS[]
NonThreadedProcessingUnit. casCache
The cas cache.private CAS[]
ProcessingUnit. casCache
The cas cache.private CAS[]
ArtifactProducer. casList
The cas list.protected CAS[]
NonThreadedProcessingUnit. casList
The cas list.protected CAS[]
ProcessingUnit. casList
The cas list.protected CAS
NonThreadedProcessingUnit. conversionCas
The conversion cas.protected CAS
ProcessingUnit. conversionCas
The conversion cas.protected CAS[]
NonThreadedProcessingUnit. conversionCasArray
The conversion cas array.protected CAS[]
ProcessingUnit. conversionCasArray
The conversion cas array.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()
Gets the cas.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 cross package access.static int
ConsumerCasUtils. getIntFeatValue(CAS aCasView, java.lang.String aTypeS, java.lang.String aFeatS)
Returns an int value of a given Feature Structure.static java.lang.String
ConsumerCasUtils. getStringFeatValue(CAS aCasView, java.lang.String aTypeS, java.lang.String aFeatS)
Returns a string value of a given Feature Structure.static FeatureStructure
ConsumerCasUtils. getTcasFS(CAS aCasView, java.lang.String aTypeS)
Returns a Feature Structure of a given type.void
ArtifactProducer. invalidate(CAS[] aCasList)
Invalidate.void
BoundedWorkQueue. invalidate(CAS[] aCasObjectList)
Invalidate.void
SequencedQueue. invalidate(CAS[] aCasObjectList)
void
CPMEngine. invalidateCASes(CAS[] aCASList)
Invalidate CA ses.private void
ProcessingUnit. maybeLogFinest(java.lang.String msgBundleId, CAS[] casCache)
Maybe log finest.private void
ProcessingUnit. maybeLogFinest(java.lang.String msgBundleId, ProcessingContainer container, CasProcessor processor, CAS[] casCache)
Maybe log finest.private void
ArtifactProducer. notifyListeners(CAS aCas, java.lang.Exception anException)
Notify registered callback listeners of a given exception.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)
Sets the cas. -
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)
Gets the feature as int.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
Fields in org.apache.uima.flow declared as CAS Modifier and Type Field Description private CAS
CasFlow_ImplBase. mCAS
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 private void
CasFlowController_ImplBase. checkTypeSystemChange(CAS aCAS)
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)
Flow
FixedFlowController.FixedFlowObject. newCasProduced(CAS newCas, java.lang.String producedBy)
-
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
AnnotationBase_Type. getView(int addr)
Deprecated.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.json
Methods in org.apache.uima.json with parameters of type CAS Modifier and Type Method Description static void
JsonCasSerializer. jsonSerialize(CAS aCAS, java.lang.Object output)
Serializes a CAS using JSONstatic void
JsonCasSerializer. jsonSerialize(CAS aCAS, TypeSystem aTargetTypeSystem, java.lang.Object output)
Serializes a CAS to an output (File, OutputStream, XMI stream, or Writer).static void
JsonCasSerializer. jsonSerialize(CAS aCAS, TypeSystem aTargetTypeSystem, java.lang.Object output, boolean aPrettyPrint, Marker aMarker, XmiSerializationSharedData sharedData)
Serializes a Delta CAS to an output (File, Writer, or OutputStream).void
JsonCasSerializer. serialize(CAS cas, java.lang.Object output)
Serialize a Cas to an Output, using configurations set on this instance.void
JsonCasSerializer. serialize(CAS cas, java.lang.Object output, XmiSerializationSharedData sharedData, Marker marker)
void
JsonCasSerializer. serialize(CAS cas, JsonContentHandlerJacksonWrapper jch)
Serialize a Cas to an Output configured in the passed in JsonContentHandlerJacksonWrapper Constructs a new CasDocSerializer instance to do the serialization, configured using this class's Delta marker setting (if any)void
JsonCasSerializer. serialize(CAS cas, JsonContentHandlerJacksonWrapper jch, XmiSerializationSharedData sharedData, Marker marker)
-
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
Fields in org.apache.uima.resource.impl with type parameters of type CAS Modifier and Type Field Description private java.util.Map<CAS,CasPool>
CasManager_impl. mCasToCasPoolMap
private java.util.Map<CAS,UimaContext>
CasManager_impl. mCasToUimaContextMap
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.tools
Methods in org.apache.uima.tools with parameters of type CAS Modifier and Type Method Description void
RunAE. entityProcessComplete(CAS aCas, EntityProcessStatus aStatus)
Entity process complete. -
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.private void
XCasWriterCasConsumer. writeXCas(CAS aCas, java.io.File name)
Serialize a CAS to a file in XCAS formatprivate void
XmiWriterCasConsumer. writeXmi(CAS aCas, java.io.File name, java.lang.String modelFileName)
Serialize a CAS to a file in XMI format -
Uses of CAS in org.apache.uima.tools.cpm
Methods in org.apache.uima.tools.cpm with parameters of type CAS Modifier and Type Method Description void
CpmPanel.StatusCallbackListenerImpl. entityProcessComplete(CAS aCas, EntityProcessStatus aStatus)
-
Uses of CAS in org.apache.uima.tools.cvd
Fields in org.apache.uima.tools.cvd declared as CAS Modifier and Type Field Description private CAS
MainFrame. cas
The cas.Methods in org.apache.uima.tools.cvd that return CAS Modifier and Type Method Description CAS
MainFrame. getCas()
Gets the cas.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)
Inits the.void
MainFrame. setCas(CAS cas)
Sets the cas.void
FSTreeModel. update(java.lang.String indexName, FSIndex index, CAS cas1)
Update. -
Uses of CAS in org.apache.uima.tools.docanalyzer
Fields in org.apache.uima.tools.docanalyzer declared as CAS Modifier and Type Field Description private CAS
AnnotationViewerDialog. cas
The cas.protected CAS
DocumentAnalyzer. cas
The 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)
Entity process complete.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)
Instantiates a new annotation viewer dialog.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.jcasgen
Fields in org.apache.uima.tools.jcasgen declared as CAS Modifier and Type Field Description (package private) CAS
Jg. cas
The cas. -
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 private javax.swing.JTree
AnnotationFeaturesViewer. generateTreeView(AnalysisEngineDescription analysisEngine, AnalysisEngineMetaData aeMetaData, CAS cas)
Generate tree view.private java.lang.String[]
AnnotationFeaturesViewer. getFeatureNamesForType(java.lang.String aTypeName, CAS cas)
Gets the feature names for type.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.private boolean
StyleMapEditor. launchGUI(java.util.ArrayList aStyleList, CAS cas)
Displays the Style Map Editor GUI and allows the user to interact with it.void
AnnotationFeaturesViewer. populate(AnalysisEngineDescription analysisEngine, AnalysisEngineMetaData aeMetaData, CAS cas)
Populate.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
Fields in org.apache.uima.tools.viewer declared as CAS Modifier and Type Field Description private CAS
CasAnnotationViewer. cas
The cas.Methods in org.apache.uima.tools.viewer with parameters of type CAS Modifier and Type Method Description private javax.swing.tree.TreeNode
CasTreeViewer. buildTree(CAS aCAS)
Builds a tree from a CAS.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
Fields in org.apache.uima.uimacpp declared as CAS Modifier and Type Field Description (package private) CAS
UimacppEngine. cas
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
Fields in org.apache.uima.util declared as CAS Modifier and Type Field Description private CAS
XmlCasDeserializer.XmlCasDeserializerHandler. mCAS
Fields in org.apache.uima.util with type parameters of type CAS Modifier and Type Field Description private java.util.Set<CAS>
CasPool. mAllInstances
private java.util.Set<CAS>
CasPool. mFreeInstances
Methods in org.apache.uima.util that return CAS Modifier and Type Method Description static CAS
CasCreationUtils. createCas()
Creates a new CAS instance.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.private static CAS
CasCreationUtils. doCreateCas(TypeSystem aTypeSystem, TypeSystemDescription aTypeSystemDesc, TypePriorities aTypePriorities, FsIndexDescription[] aFsIndexes, java.util.Properties aPerformanceTuningSettings, ResourceManager aResourceManager)
Method that does the work for creating 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.private CAS
CasPool. getCasAfterPermitAcquired()
Methods in org.apache.uima.util that return types with arguments of type CAS Modifier and Type Method Description private static java.util.Set<CAS>
CasPool. fillPool(int aNumInstances, java.util.Collection<? extends ProcessingResourceMetaData> mdList, java.util.Properties performanceTuningSettings, ResourceManager resourceManager)
private static java.util.Set<CAS>
CasPool. fillPool(int aNumInstances, CasDefinition casDef, java.util.Properties performanceTuningSettings)
private static java.util.Set<CAS>
CasPool. fillPool(int aNumInstances, CasManager casManager, java.util.Properties performanceTuningSettings)
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 private boolean
CasCopier. casViewsInSameCas(CAS c1, CAS c2)
Change from https://issues.apache.org/jira/browse/UIMA-3112 : requires that the CAS returned from the getLowLevelCAS() be castable to CASImplstatic 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.private void
CasCopier. copyCasViewDifferentCASs(CAS aSrcCasView, CAS aTgtCasView, boolean aCopySofa)
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.(package private) static SerialFormat
XmlCasDeserializer. deserializeR(java.io.InputStream aStream, CAS aCAS, boolean aLenient)
Deserializes a CAS from XMI or XCAS, version returning the SerialFormatjava.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.private org.xml.sax.Attributes
CasToInlineXml. getFeatureAttributes(FeatureStructure aFS, CAS aCAS)
private org.xml.sax.Attributes
TCasToInlineXml. getFeatureAttributes(FeatureStructure aFS, CAS aCAS)
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.private static SerialFormat
CasIOUtils. load(java.io.InputStream casInputStream, java.io.InputStream tsiInputStream, CAS aCAS, CasLoadMode casLoadMode, TypeSystemImpl typeSystem)
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.XmlCasDeserializerHandler(CAS cas, boolean lenient)
Constructor parameters in org.apache.uima.util with type arguments of type CAS Constructor Description CasPool(int aNumInstances, java.util.Set<CAS> allInstances)
-