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 CASCASTransportable. myCasMethods in org.apache.uima.adapter.vinci that return CAS Modifier and Type Method Description CASCASTransportable. getCas()Gets the cas.Methods in org.apache.uima.adapter.vinci with parameters of type CAS Modifier and Type Method Description voidVinciAnalysisEngineServiceStub. callProcess(CAS aCAS)Call process.voidVinciBinaryAnalysisEngineServiceStub. callProcess(CAS aCAS)Call process.voidVinciAnalysisEngineServiceStub. callProcessCas(CAS aCAS)Call process cas.private voidVinciAnalysisEngineServiceStub. 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 CASCasMultiplier_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 voidCasAnnotator_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 voidCasMultiplier_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 voidCasAnnotator_ImplBase. process(CAS aCAS)Inputs a CAS to the AnalysisComponent.abstract voidCasMultiplier_ImplBase. process(CAS aCAS)This method should be overriden by subclasses.voidCasProcessor. 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 CASAnalysisProcessData. 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.CASAnalysisEngine. newCAS()Creates a new Common Analysis System appropriate for this Analysis Engine.CASCasIterator. 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 voidAnalysisEngineServiceStub. callProcess(CAS aCAS)Performs service call to process an entity.ProcessTraceAnalysisEngine. process(CAS aCAS)Invokes this AnalysisEngine's analysis logic.ProcessTraceAnalysisEngine. process(CAS aCAS, ResultSpecification aResultSpec)Invokes this AnalysisEngine's analysis logic.voidAnalysisEngine. process(CAS aCAS, ResultSpecification aResultSpec, ProcessTrace aTrace)Invokes this AnalysisEngine's analysis logic.CasIteratorAnalysisEngine. 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 voidGenericAnnotator. process(CAS aCAS, ResultSpecification aResultSpec)Deprecated.Invokes this annotator's analysis logic.voidTextAnnotator. 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 CasIteratorASB. 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) CASASB_impl.AggregateCasIterator. mInputCasThe CAS that was input to the Aggregate AE's process method.(package private) CASASB_impl.AggregateCasIterator. nextCasHolds the next CAS to be returned, if it is known.(package private) CASASB_impl.StackFrame. originalCasThe 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. activeCASesSet 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 CASASB_impl.AggregateCasIterator. next()Gets the next output CAS.private CASASB_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 FlowContainerFlowControllerContainer. computeFlow(CAS aCAS)Invokes the FlowController's computeFlow method, returning a Flow object that routes the given CAS through this aggregate.FlowContainerFlowContainer. newCasProduced(CAS newCAS, java.lang.String producedBy)CasIteratorASB_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 CASAnalysisProcessData_impl. mCASDeprecated.The CAS owned by this AnalysisProcessData.private CASPrimitiveAnalysisEngine_impl.AnalysisComponentCasIterator. mInputCasMethods in org.apache.uima.analysis_engine.impl that return CAS Modifier and Type Method Description protected CASPrimitiveAnalysisEngine_impl. callAnalysisComponentNext()Calls the Analysis Component's next() method.protected CASUimacppAnalysisEngineImpl. callAnalysisComponentNext()Calls the Analysis Component's next() method.CASAnalysisProcessData_impl. getCAS()Deprecated.CASAnalysisEngineImplBase. newCAS()CASPearAnalysisEngineWrapper. newCAS()CASEmptyCasIterator. next()CASPrimitiveAnalysisEngine_impl.AnalysisComponentCasIterator. next()CASUimacppAnalysisEngineImpl.TafAnalysisComponentCasIterator. next()Methods in org.apache.uima.analysis_engine.impl with parameters of type CAS Modifier and Type Method Description protected voidPrimitiveAnalysisEngine_impl. callAnalysisComponentProcess(CAS aCAS)Calls the Analysis Component's process method.protected voidUimacppAnalysisEngineImpl. callAnalysisComponentProcess(CAS aCAS)Calls the Analysis Component's process method.protected voidUimacppAnalysisEngineImpl. enableProhibitedAnnotatorCasFunctions(CAS aCAS, boolean aEnable)Lock/unlock CAS functions to which Annotators should not have accessProcessTraceAnalysisEngineImplBase. process(CAS aCAS)ProcessTraceAnalysisEngineImplBase. process(CAS aCAS, ResultSpecification aResultSpec)voidAnalysisEngineImplBase. process(CAS aCAS, ResultSpecification aResultSpec, ProcessTrace aTrace)voidAnalysisEngineProcessorStub. process(CAS aCAS)Performs service call to process an entity.ProcessTraceMultiprocessingAnalysisEngine_impl. process(CAS aCAS)ProcessTraceMultiprocessingAnalysisEngine_impl. process(CAS aCAS, ResultSpecification aResultSpec)voidMultiprocessingAnalysisEngine_impl. process(CAS aCAS, ResultSpecification aResultSpec, ProcessTrace aTrace)CasIteratorAggregateAnalysisEngine_impl. processAndOutputNewCASes(CAS aCAS)CasIteratorAnalysisEngineImplBase. processAndOutputNewCASes(CAS aCAS)CasIteratorAnalysisEngineProcessorAdapter. processAndOutputNewCASes(CAS aCAS)CasIteratorMultiprocessingAnalysisEngine_impl. processAndOutputNewCASes(CAS aCAS)CasIteratorPearAnalysisEngineWrapper. processAndOutputNewCASes(CAS aCAS)CasIteratorPrimitiveAnalysisEngine_impl. processAndOutputNewCASes(CAS aCAS)CasIteratorUimacppAnalysisEngineImpl. processAndOutputNewCASes(CAS aCAS)voidAnalysisEngineImplBase. processCas(CAS aCAS)voidAnalysisEngineImplBase. 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 CASAnalysisEngineService_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 CasIteratorAnalysisEngineServiceAdapter. processAndOutputNewCASes(CAS aCAS)voidServiceDataCargo. unmarshalCas(CAS aCas, boolean aReplaceCasTypeSystem)Unmarshalls the CAS data in thisServiceDataCargointo an existingCASinstance.Constructors in org.apache.uima.analysis_engine.service.impl with parameters of type CAS Constructor Description ServiceDataCargo(CAS aCAS, ProcessTrace aProcessTrace)Creates a newSerializableAnalysisProcessDatathat contains the givenCASandProcessTrace. -
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 CASCAS. createView(java.lang.String localViewName)Create a view and its underlying Sofa (subject of analysis).CASFeatureStructure. getCAS()CASCAS. getCurrentView()Get the Cas view that the current component should use.CASAnnotationBaseFS. getView()Gets the CAS view associated with the Sofa that this Annotation is over.CASCAS. getView(java.lang.String localViewName)Get the view for a Sofa (subject of analysis).CASCAS. 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 CASCASMgr. 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 voidCASMgr. 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 classCASImplImplements the CAS interfaces.Fields in org.apache.uima.cas.impl declared as CAS Modifier and Type Field Description protected CASDebugFSLogicalStructure.IndexInfo. casprivate CASDebugFSLogicalStructure.ViewInfo. casFields in org.apache.uima.cas.impl with type parameters of type CAS Modifier and Type Field Description private java.util.List<CAS>XCASDeserializer.XCASDeserializerHandler. viewsmap for index -> cas views,private java.util.List<CAS>XmiCasDeserializer.XmiCasDeserializerHandler. viewsMethods 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 CASSerialization. createCAS(CASMgr casMgr, CASSerializer casSer)Deserialize the data in a CASSerializer into an existing CAS, return the currentview in that Cas.CASCASImpl. createView(java.lang.String aSofaID)CASCASImpl. getCAS()CASFeatureStructureImplC. getCAS()CASCASImpl. getCurrentView()CASCASImpl. getView(int sofaNum)CASCASImpl. 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 voidFeatureStructureImplC. addToIndexes(CAS cas)static java.lang.StringBuilderCasCompare. compareNumberOfFSsByType(CAS cas1, CAS cas2)Counts and compares the number of Feature Structures, by type, and generates a reportstatic voidXCASDeserializer. deserialize(java.io.InputStream aStream, CAS aCAS)Deserializes an XCAS from a stream.static voidXCASDeserializer. deserialize(java.io.InputStream aStream, CAS aCAS, boolean aLenient)Deserializes an XCAS from a stream.static voidXCASDeserializer. deserialize(java.io.Reader aReader, CAS aCAS, boolean aLenient)Deserializes an XCAS from a stream.static voidXCASDeserializer. deserialize(org.xml.sax.InputSource aSource, CAS aCAS, boolean aLenient)static voidXmiCasDeserializer. deserialize(java.io.InputStream aStream, CAS aCAS)Deserializes a CAS from XMI.static voidXmiCasDeserializer. deserialize(java.io.InputStream aStream, CAS aCAS, boolean aLenient)Deserializes a CAS from XMI.static voidXmiCasDeserializer. deserialize(java.io.InputStream aStream, CAS aCAS, boolean aLenient, XmiSerializationSharedData aSharedData)Deserializes a CAS from XMI.static voidXmiCasDeserializer. deserialize(java.io.InputStream aStream, CAS aCAS, boolean aLenient, XmiSerializationSharedData aSharedData, int aMergePoint)Deserializes a CAS from XMI.static voidXmiCasDeserializer. deserialize(java.io.InputStream aStream, CAS aCAS, boolean aLenient, XmiSerializationSharedData aSharedData, int aMergePoint, AllowPreexistingFS allowPreexistingFS)Deserializes a CAS from XMI.static SerialFormatSerialization. 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 BinaryCasSerDes6Serialization. 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 BinaryCasSerDes6Serialization. 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.DefaultHandlerXCASDeserializer. getXCASHandler(CAS cas)Create a default handler for deserializing an XCAS into thecasparameter.org.xml.sax.helpers.DefaultHandlerXCASDeserializer. getXCASHandler(CAS cas, OutOfTypeSystemData outOfTypeSystemData)Create a default handler for deserializing an XCAS into thecasparameter.org.xml.sax.helpers.DefaultHandlerXmiCasDeserializer. getXmiCasHandler(CAS cas)Create a default handler for deserializing a CAS from XMI.org.xml.sax.helpers.DefaultHandlerXmiCasDeserializer. getXmiCasHandler(CAS cas, boolean lenient)Create a default handler for deserializing a CAS from XMI.org.xml.sax.helpers.DefaultHandlerXmiCasDeserializer. getXmiCasHandler(CAS cas, boolean lenient, XmiSerializationSharedData sharedData)Create a default handler for deserializing a CAS from XMI.org.xml.sax.helpers.DefaultHandlerXmiCasDeserializer. getXmiCasHandler(CAS cas, boolean lenient, XmiSerializationSharedData sharedData, int mergePoint)Create a default handler for deserializing a CAS from XMI.org.xml.sax.helpers.DefaultHandlerXmiCasDeserializer. getXmiCasHandler(CAS cas, boolean lenient, XmiSerializationSharedData sharedData, int mergePoint, AllowPreexistingFS allow)Create a default handler for deserializing a CAS from XMI.static booleanCASImpl. isSameCAS(CAS c1, CAS c2)(package private) voidCASImpl. refreshView(CAS cas, SofaFS aSofa)voidFeatureStructureImplC. removeFromIndexes(CAS cas)remove this FS from indexes in a specific view, perhaps different from the view where this was created.static voidXCASSerializer. serialize(CAS aCAS, java.io.OutputStream aStream)Serializes an XCAS to a stream.static voidXCASSerializer. serialize(CAS aCAS, java.io.OutputStream aStream, boolean isFormattedOutput)Serializes an XCAS to a stream.static voidXCASSerializer. serialize(CAS aCAS, java.io.OutputStream aStream, boolean isFormattedOutput, boolean useXml_1_1)Serializes an XCAS to a stream.voidXCASSerializer. serialize(CAS cas, org.xml.sax.ContentHandler contentHandler)Write the CAS data to a SAX content handler.voidXCASSerializer. serialize(CAS cas, org.xml.sax.ContentHandler contentHandler, boolean encodeDoc)Write the CAS data to a SAX content handler.voidXCASSerializer. serialize(CAS cas, org.xml.sax.ContentHandler contentHandler, boolean encodeDoc, OutOfTypeSystemData outOfTypeSystemData)Write the CAS data to a SAX content handler.static voidXmiCasSerializer. serialize(CAS aCAS, java.io.OutputStream aStream)Serializes a CAS to an XMI stream.static voidXmiCasSerializer. serialize(CAS aCAS, TypeSystem aTargetTypeSystem, java.io.OutputStream aStream)Serializes a CAS to an XMI stream.static voidXmiCasSerializer. serialize(CAS aCAS, TypeSystem aTargetTypeSystem, java.io.OutputStream aStream, boolean aPrettyPrint, XmiSerializationSharedData aSharedData)Serializes a CAS to an XMI stream.static voidXmiCasSerializer. serialize(CAS aCAS, TypeSystem aTargetTypeSystem, java.io.OutputStream aStream, boolean aPrettyPrint, XmiSerializationSharedData aSharedData, Marker aMarker)Serializes a Delta CAS to an XMI stream.static voidXmiCasSerializer. 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.voidXmiCasSerializer. serialize(CAS cas, org.xml.sax.ContentHandler contentHandler)Write the CAS data to a SAX content handler.(package private) voidXmiCasSerializer. serialize(CAS cas, org.xml.sax.ContentHandler contentHandler, XmiCasSerializer.XmiDocSerializer ser)voidXmiCasSerializer. serialize(CAS cas, org.xml.sax.ContentHandler contentHandler, org.xml.sax.ErrorHandler errorHandler)Write the CAS data to a SAX content handler.voidXmiCasSerializer. serialize(CAS cas, org.xml.sax.ContentHandler contentHandler, org.xml.sax.ErrorHandler errorHandler, XmiSerializationSharedData sharedData)Write the CAS data to a SAX content handler.voidXmiCasSerializer. 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 CASSerializerSerialization. serializeCAS(CAS cas)Convert a CAS to a CASSerializer object.static voidSerialization. serializeCAS(CAS cas, java.io.OutputStream ostream)Serialize a CAS including what's indexed, to an output stream Uses uncompressed binary serializationstatic voidSerialization. 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 CASSerializerSerialization. serializeNoMetaData(CAS cas)Convert a CAS to a CASSerializer object.static voidSerialization. serializeWithCompression(CAS cas, java.lang.Object out)Serialize in compressed binary form 4static BinaryCasSerDes6.ReuseInfoSerialization. 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 voidSerialization. serializeWithCompression(CAS cas, java.lang.Object out, Marker marker)Serialize in compress binary form 4, only the delta part of a CASstatic BinaryCasSerDes6.ReuseInfoSerialization. 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 voidSerialization. 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.voidCASImpl. 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 voidStatusCallbackListener. entityProcessComplete(CAS aCas, EntityProcessStatus aStatus)Called when the processing of each entity has completed.voidCollectionReader. getNext(CAS aCAS)Gets the next element of the collection.voidCasInitializer. initializeCas(java.lang.Object aObj, CAS aCAS)Deprecated.Reads content and metadata from an Object and initializes aCAS.voidCasConsumer_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 voidCasObjectProcessor. processCas(CAS aCAS)Process a single CAS.voidCasObjectProcessor. 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 CasDataCasConverter. casContainerToCasData(CAS aContainer)Convert CAS Container (aka CAS Object) to CAS DatavoidCasConverter. 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 voidStatusCallbackListenerImpl. 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 voidCasObjectNetworkCasProcessorImpl. processCas(CAS aCAS)Uses configured transport to delegate given CAS to the remote service.voidCasObjectNetworkCasProcessorImpl. 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 CASOFSocketTransportImpl. process(java.net.Socket aSocket, CAS aCas)CASSocketTransport. 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 CASOFSocketTransportImpl. process(java.net.Socket aSocket, CAS aCas)CASSocketTransport. 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. casThe cas.private CAS[]NonThreadedProcessingUnit. casCacheThe cas cache.private CAS[]ProcessingUnit. casCacheThe cas cache.private CAS[]ArtifactProducer. casListThe cas list.protected CAS[]NonThreadedProcessingUnit. casListThe cas list.protected CAS[]ProcessingUnit. casListThe cas list.protected CASNonThreadedProcessingUnit. conversionCasThe conversion cas.protected CASProcessingUnit. conversionCasThe conversion cas.protected CAS[]NonThreadedProcessingUnit. conversionCasArrayThe conversion cas array.protected CAS[]ProcessingUnit. conversionCasArrayThe conversion cas array.Methods in org.apache.uima.collection.impl.cpm.engine that return CAS Modifier and Type Method Description CASCPECasPool. getCas()Checks out a CAS from the pool.CASCPECasPool. getCas(long aTimeout)Returns a Cas instance from the pool.CAS[]WorkUnit. getCas()Gets the cas.CASCPECasPool. 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 voidCPMEngine. callEntityProcessCompleteWithCAS(StatusCallbackListener statCL, CAS cas, EntityProcessStatus eps)Internal use only, public for cross package access.static intConsumerCasUtils. getIntFeatValue(CAS aCasView, java.lang.String aTypeS, java.lang.String aFeatS)Returns an int value of a given Feature Structure.static java.lang.StringConsumerCasUtils. getStringFeatValue(CAS aCasView, java.lang.String aTypeS, java.lang.String aFeatS)Returns a string value of a given Feature Structure.static FeatureStructureConsumerCasUtils. getTcasFS(CAS aCasView, java.lang.String aTypeS)Returns a Feature Structure of a given type.voidArtifactProducer. invalidate(CAS[] aCasList)Invalidate.voidBoundedWorkQueue. invalidate(CAS[] aCasObjectList)Invalidate.voidSequencedQueue. invalidate(CAS[] aCasObjectList)voidCPMEngine. invalidateCASes(CAS[] aCASList)Invalidate CA ses.private voidProcessingUnit. maybeLogFinest(java.lang.String msgBundleId, CAS[] casCache)Maybe log finest.private voidProcessingUnit. maybeLogFinest(java.lang.String msgBundleId, ProcessingContainer container, CasProcessor processor, CAS[] casCache)Maybe log finest.private voidArtifactProducer. notifyListeners(CAS aCas, java.lang.Exception anException)Notify registered callback listeners of a given exception.voidCPECasPool. releaseCas(CAS aCas)Checks in a CAS to the pool.voidCPMEngine. releaseCASes(CAS[] aCASList)Releases given cases back to pool.voidWorkUnit. 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 ChunkMetadataCPMUtils. getChunkMetadata(CAS aCas)Extract metadata associated with chunk from a given CAS.static intCPMUtils. getFeatureAsInt(CAS aCas, Feature aFeature, java.lang.String aName)Gets the feature as int.static java.lang.StringCPMUtils. 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 CASCasFlow_ImplBase. mCASMethods in org.apache.uima.flow that return CAS Modifier and Type Method Description protected CASCasFlow_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 voidCasFlowController_ImplBase. checkTypeSystemChange(CAS aCAS)abstract FlowCasFlowController_ImplBase. computeFlow(CAS aCAS)This method must be overriden by subclasses.protected FlowCasFlow_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.voidCasFlow_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 FlowCapabilityLanguageFlowController. computeFlow(CAS aCAS)FlowFixedFlowController. computeFlow(CAS aCAS)FlowFixedFlowController.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. mOutstandingCASesCASes 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 CASImplUtil. 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 AbstractCasUtil. 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 CASJCas. 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 CASAnnotationBase_Type. getView(int addr)Deprecated.CASAnnotationBase. 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 CASJCasImpl. getCas()Methods in org.apache.uima.jcas.impl with parameters of type CAS Modifier and Type Method Description static voidJCasImpl. 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 voidJsonCasSerializer. jsonSerialize(CAS aCAS, java.lang.Object output)Serializes a CAS using JSONstatic voidJsonCasSerializer. jsonSerialize(CAS aCAS, TypeSystem aTargetTypeSystem, java.lang.Object output)Serializes a CAS to an output (File, OutputStream, XMI stream, or Writer).static voidJsonCasSerializer. 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).voidJsonCasSerializer. serialize(CAS cas, java.lang.Object output)Serialize a Cas to an Output, using configurations set on this instance.voidJsonCasSerializer. serialize(CAS cas, java.lang.Object output, XmiSerializationSharedData sharedData, Marker marker)voidJsonCasSerializer. 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)voidJsonCasSerializer. 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 CASCasManager. createNewCas(java.util.Properties aPerformanceTuningSettings)Create a new CAS using the CasDefinition stored in this CAS Manager.CASCasManager. 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 AbstractCasCasManager. 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. mCasToCasPoolMapprivate java.util.Map<CAS,UimaContext>CasManager_impl. mCasToUimaContextMapMethods in org.apache.uima.resource.impl that return CAS Modifier and Type Method Description CASCasManager_impl. createNewCas(java.util.Properties aPerformanceTuningSettings)CASCasManager_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 AbstractCasCasManager_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 booleanPrecondition. 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 booleanSimplePrecondition_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 voidRunAE. 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 voidFileSystemCollectionReader. getNext(CAS aCAS)voidXmlDetagger. process(CAS aCAS)voidInlineXmlCasConsumer. processCas(CAS aCAS)Processes the CasContainer which was populated by the TextAnalysisEngines.voidXCasWriterCasConsumer. processCas(CAS aCAS)Processes the CasContainer which was populated by the TextAnalysisEngines.voidXmiWriterCasConsumer. processCas(CAS aCAS)Processes the CAS which was populated by the TextAnalysisEngines.private voidXCasWriterCasConsumer. writeXCas(CAS aCas, java.io.File name)Serialize a CAS to a file in XCAS formatprivate voidXmiWriterCasConsumer. 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 voidCpmPanel.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 CASMainFrame. casThe cas.Methods in org.apache.uima.tools.cvd that return CAS Modifier and Type Method Description CASMainFrame. getCas()Gets the cas.Methods in org.apache.uima.tools.cvd with parameters of type CAS Modifier and Type Method Description voidAnnotationDisplayCustomizationFrame. init(java.util.Map<java.lang.String,javax.swing.text.Style> styleMap1, CAS cas)Inits the.voidMainFrame. setCas(CAS cas)Sets the cas.voidFSTreeModel. 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 CASAnnotationViewerDialog. casThe cas.protected CASDocumentAnalyzer. casThe cas.Methods in org.apache.uima.tools.docanalyzer that return CAS Modifier and Type Method Description protected CASDocumentAnalyzer. 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 voidDocumentAnalyzer. 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) CASJg. casThe 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.JTreeAnnotationFeaturesViewer. 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.StringStyleMapEditor. launchEditor(AnalysisEngineMetaData aAnalysisEngineMetaData, java.lang.String aStyleMapXml, CAS cas)Displays the StyleMapEditor GUI and allows the user to edit a style map.private booleanStyleMapEditor. launchGUI(java.util.ArrayList aStyleList, CAS cas)Displays the Style Map Editor GUI and allows the user to interact with it.voidAnnotationFeaturesViewer. 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 CASCasAnnotationViewer. casThe cas.Methods in org.apache.uima.tools.viewer with parameters of type CAS Modifier and Type Method Description private javax.swing.tree.TreeNodeCasTreeViewer. buildTree(CAS aCAS)Builds a tree from a CAS.voidCasAnnotationViewer. 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) CASUimacppEngine. casMethods in org.apache.uima.uimacpp that return CAS Modifier and Type Method Description protected CASUimacppAnalysisComponent. 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 voidUimacppEngine. next(CAS segment)nextvoidUimacppAnalysisComponent. process(CAS aCAS)voidUimacppAnalysisComponent. process(CAS cas, ResultSpecification aResultSpec)voidUimacppEngine. 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 CASXmlCasDeserializer.XmlCasDeserializerHandler. mCASFields in org.apache.uima.util with type parameters of type CAS Modifier and Type Field Description private java.util.Set<CAS>CasPool. mAllInstancesprivate java.util.Set<CAS>CasPool. mFreeInstancesMethods in org.apache.uima.util that return CAS Modifier and Type Method Description static CASCasCreationUtils. createCas()Creates a new CAS instance.static CASCasCreationUtils. createCas(java.util.Collection<? extends MetaDataObject> aComponentDescriptionsOrMetaData)Creates a new CAS instance for a collection of CAS Processors.static CASCasCreationUtils. createCas(java.util.Collection<? extends MetaDataObject> aComponentDescriptionsOrMetaData, java.util.Properties aPerformanceTuningSettings)Creates a new CAS instance for a collection of CAS Processors.static CASCasCreationUtils. 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 CASCasCreationUtils. 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 CASCasCreationUtils. 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 CASCasCreationUtils. createCas(AnalysisEngineDescription aDescription)Creates a new CAS instance for an Analysis Engine.static CASCasCreationUtils. createCas(AnalysisEngineDescription aDescription, java.util.Properties aPerformanceTuningSettings)Creates a new CAS instance for an Analysis Engine.static CASCasCreationUtils. createCas(AnalysisEngineMetaData aMetaData)Creates a new CAS instance.static CASCasCreationUtils. createCas(TypeSystem aTypeSystem, TypePriorities aTypePriorities, FsIndexDescription[] aFsIndexes, java.util.Properties aPerformanceTuningSettings)Creates a new CAS instance that reuses an existing type system.static CASCasCreationUtils. 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 CASCasCreationUtils. createCas(CasDefinition casDef, java.util.Properties performanceTuningSettings)Create a CAS from a CAS Definition.static CASCasCreationUtils. createCas(CasDefinition casDef, java.util.Properties performanceTuningSettings, TypeSystem typeSystem)Create a CAS from a CAS Definition, but reuse the provided TypeSystem object.static CASCasCreationUtils. createCas(ProcessingResourceMetaData aMetaData)Creates a new CAS instance.static CASCasCreationUtils. createCas(TypeSystemDescription aTypeSystem, TypePriorities aTypePriorities, FsIndexDescription[] aFsIndexes)Creates a new CAS instance.static CASCasCreationUtils. createCas(TypeSystemDescription aTypeSystem, TypePriorities aTypePriorities, FsIndexDescription[] aFsIndexes, java.util.Properties aPerformanceTuningSettings)Creates a new CAS instance.static CASCasCreationUtils. createCas(TypeSystemDescription aTypeSystem, TypePriorities aTypePriorities, FsIndexDescription[] aFsIndexes, java.util.Properties aPerformanceTuningSettings, ResourceManager aResourceManager)Creates a new CAS instance.private static CASCasCreationUtils. 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.CASCasPool. getCas()Checks out a CAS from the pool.CASCasPool. getCas(long aTimeout)Checks out a CAS from the pool.private CASCasPool. 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 booleanCasCopier. 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 voidCasCopier. copyCas(CAS aSrcCas, CAS aDestCas, boolean aCopySofa)Does a complete deep copy of one CAS into another CAS.static voidCasCopier. copyCas(CAS aSrcCas, CAS aDestCas, boolean aCopySofa, boolean lenient)Does a complete deep copy of one CAS into another CAS.voidCasCopier. 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.voidCasCopier. 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.voidCasCopier. 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.voidCasCopier. 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 voidCasCopier. copyCasViewDifferentCASs(CAS aSrcCasView, CAS aTgtCasView, boolean aCopySofa)static voidXmlCasDeserializer. deserialize(java.io.InputStream aStream, CAS aCAS)Deserializes a CAS from a standoff-XML format.static voidXmlCasDeserializer. deserialize(java.io.InputStream aStream, CAS aCAS, boolean aLenient)Deserializes a CAS from XMI or XCAS.(package private) static SerialFormatXmlCasDeserializer. deserializeR(java.io.InputStream aStream, CAS aCAS, boolean aLenient)Deserializes a CAS from XMI or XCAS, version returning the SerialFormatjava.lang.StringCasToInlineXml. format(CAS aCAS)Formats a CAS as a String.java.lang.StringCasToInlineXml. format(CAS aCAS, FSMatchConstraint aFilter)Formats a CAS as a String.java.lang.StringTCasFormatter. format(CAS aCAS)Produces a string representation of a CAS.java.lang.StringTCasFormatter. format(CAS aCAS, FSMatchConstraint aFilter)Produces a string representation of a CAS.java.lang.StringTCasToInlineXml. format(CAS aCAS)Deprecated.java.lang.StringTCasToInlineXml. format(CAS aCAS, FSMatchConstraint aFilter)Deprecated.java.lang.StringCasToInlineXml. generateXML(CAS aCAS)Generates inline XML from a CAS.java.lang.StringCasToInlineXml. generateXML(CAS aCAS, FSMatchConstraint aFilter)Generates inline XML from a CAS.voidCasToInlineXml. generateXML(CAS aCAS, FSMatchConstraint aFilter, org.xml.sax.ContentHandler aHandler)Generates inline XML from a CAS using a passed in ContentHandlerjava.lang.StringTCasToInlineXml. generateXML(CAS aCAS)Deprecated.java.lang.StringTCasToInlineXml. generateXML(CAS aCAS, FSMatchConstraint aFilter)Deprecated.private org.xml.sax.AttributesCasToInlineXml. getFeatureAttributes(FeatureStructure aFS, CAS aCAS)private org.xml.sax.AttributesTCasToInlineXml. getFeatureAttributes(FeatureStructure aFS, CAS aCAS)Deprecated.static intConsumerCasUtils. getIntFeatValue(CAS aCasView, java.lang.String aTypeS, java.lang.String aFeatS)static java.lang.StringConsumerCasUtils. getStringFeatValue(CAS aCasView, java.lang.String aTypeS, java.lang.String aFeatS)static FeatureStructureConsumerCasUtils. getTcasFS(CAS aCasView, java.lang.String aTypeS)static SerialFormatCasIOUtils. load(java.io.InputStream casInputStream, java.io.InputStream tsiInputStream, CAS aCAS)Loads a CAS from an Input Stream.static SerialFormatCasIOUtils. load(java.io.InputStream casInputStream, java.io.InputStream tsiInputStream, CAS aCAS, boolean leniently)Loads a CAS from an Input Stream.static SerialFormatCasIOUtils. load(java.io.InputStream casInputStream, java.io.InputStream tsiInputStream, CAS aCAS, CasLoadMode casLoadMode)Loads a CAS from an Input Stream.private static SerialFormatCasIOUtils. load(java.io.InputStream casInputStream, java.io.InputStream tsiInputStream, CAS aCAS, CasLoadMode casLoadMode, TypeSystemImpl typeSystem)static SerialFormatCasIOUtils. load(java.io.InputStream casInputStream, CAS aCAS)Loads a Cas from an Input Stream.static SerialFormatCasIOUtils. 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 SerialFormatCasIOUtils. load(java.net.URL casUrl, java.net.URL tsiUrl, CAS aCAS, boolean leniently)Loads a CAS from a URL source.static SerialFormatCasIOUtils. load(java.net.URL casUrl, java.net.URL tsiUrl, CAS aCAS, CasLoadMode casLoadMode)Loads a CAS from a URL source.static SerialFormatCasIOUtils. load(java.net.URL casUrl, CAS aCAS)Loads a Cas from a URL source.voidCasPool. releaseCas(CAS aCas)Checks in a CAS to the pool.static voidCasIOUtils. save(CAS aCas, java.io.OutputStream docOS, java.io.OutputStream tsiOS, SerialFormat format)Write the CAS in the specified format.static voidCasIOUtils. save(CAS aCas, java.io.OutputStream docOS, SerialFormat format)Write the CAS in the specified format.static voidXmlCasSerializer. serialize(CAS aCAS, java.io.OutputStream aStream)Serializes a CAS to XMI format and writes it to an output stream.static voidXmlCasSerializer. serialize(CAS aCAS, TypeSystem aTargetTypeSystem, java.io.OutputStream aStream)Serializes a CAS to XMI format and writes it to an output stream.static voidCasIOUtils. 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)
-