Uses of Interface
org.apache.uima.cas.CAS
-
-
Uses of CAS in org.apache.uima.adapter.vinci
Methods in org.apache.uima.adapter.vinci that return CAS Modifier and Type Method Description CASCASTransportable. getCas()Methods in org.apache.uima.adapter.vinci with parameters of type CAS Modifier and Type Method Description voidVinciAnalysisEngineServiceStub. callProcess(CAS aCAS)voidVinciBinaryAnalysisEngineServiceStub. callProcess(CAS aCAS)voidVinciAnalysisEngineServiceStub. callProcessCas(CAS aCAS)Constructors in org.apache.uima.adapter.vinci with parameters of type CAS Constructor Description CASTransportable(CAS cas, OutOfTypeSystemData outOfTypeSystemData, UimaContext uimaContext, boolean includeDocText)This constructor is used on the client side, where we have a dedicated CAS instance for the request. -
Uses of CAS in org.apache.uima.analysis_component
Methods in org.apache.uima.analysis_component that return CAS Modifier and Type Method Description protected 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 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. -
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
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 FlowContainer(Flow aFlow, FlowControllerContainer aFlowControllerContainer, CAS aCAS) -
Uses of CAS in org.apache.uima.analysis_engine.impl
Fields in org.apache.uima.analysis_engine.impl declared as CAS Modifier and Type Field Description protected CASAnalysisProcessData_impl. mCASDeprecated.The CAS owned by this AnalysisProcessData.Methods 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()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)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)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 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 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()Return the CAS that this FS belongs to.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()Get iterator over all views in this CAS.java.util.Iterator<CAS>CAS. getViewIterator(java.lang.String localViewNamePrefix)Get iterator over all views with the given name prefix. -
Uses of CAS in org.apache.uima.cas.admin
Methods in org.apache.uima.cas.admin that return CAS Modifier and Type Method Description 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) -
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. casMethods 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()CASAnnotationBaseImpl. getView()see org.apache.uima.cas.AnnotationBase#getView()CASCASImpl. getView(int sofaNum)CASCASImpl. getView(java.lang.String aSofaID)CASCASImpl. getView(SofaFS aSofa)Methods in org.apache.uima.cas.impl that return types with arguments of type CAS Modifier and Type Method Description java.util.Iterator<CAS>CASImpl. getViewIterator()java.util.Iterator<CAS>CASImpl. getViewIterator(java.lang.String localViewNamePrefix)Methods in org.apache.uima.cas.impl with parameters of type CAS Modifier and Type Method Description static 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 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 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.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.voidXmiCasSerializer. serialize(CAS cas, org.xml.sax.ContentHandler contentHandler)Write the CAS data to a SAX content handler.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)Constructors in org.apache.uima.cas.impl with parameters of type CAS Constructor Description DefaultFSAnnotationComparator(CAS cas)IndexInfo(CAS cas, java.lang.String indexName)IndexInfo(CAS cas, java.lang.String indexName, Type type)ViewInfo(CAS cas)Create information about a view for given CAS. -
Uses of CAS in org.apache.uima.collection
Methods in org.apache.uima.collection with parameters of type CAS Modifier and Type Method Description 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.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 protected CAS[]NonThreadedProcessingUnit. casListprotected CAS[]ProcessingUnit. casListprotected CASNonThreadedProcessingUnit. conversionCasprotected CASProcessingUnit. conversionCasprotected CAS[]NonThreadedProcessingUnit. conversionCasArrayprotected CAS[]ProcessingUnit. conversionCasArrayMethods 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()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 crss package access.static intConsumerCasUtils. getIntFeatValue(CAS aCasView, java.lang.String aTypeS, java.lang.String aFeatS)Returns an int value of a given Feature Structurestatic java.lang.StringConsumerCasUtils. getStringFeatValue(CAS aCasView, java.lang.String aTypeS, java.lang.String aFeatS)Returns a string value of a given Feature Structurestatic FeatureStructureConsumerCasUtils. getTcasFS(CAS aCasView, java.lang.String aTypeS)Returns a Feature Structure of a given typevoidArtifactProducer. invalidate(CAS[] aCasList)voidBoundedWorkQueue. invalidate(CAS[] aCasObjectList)voidSequencedQueue. invalidate(CAS[] aCasObjectList)voidCPMEngine. invalidateCASes(CAS[] aCASList)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) -
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)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
Methods 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 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) -
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 CASTOP. getCAS()CASAnnotationBase_Type. getView(int addr)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.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
Methods 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.test.junit_extension
Methods in org.apache.uima.test.junit_extension that return CAS Modifier and Type Method Description CASAnnotatorTester. createCAS()Creates a new fresh CAS instance which can be used for testing.static CASAnnotatorTester. getCASfromXCAS(java.io.File tsFile, java.io.File xcasFile)create a CAS object from the given XCAS and typesystem filesCASAnnotatorTester. performTest(java.lang.String text, java.lang.String language)performs a test on the initialized annotator.static CASAnnotatorTester. performTest(java.lang.String descFilePath, java.lang.String text, java.lang.String language)performs a test with a special annotator configuration.CASAnnotatorTester. performTest(CAS cas)performs a test on the initialized annotator.Methods in org.apache.uima.test.junit_extension with parameters of type CAS Modifier and Type Method Description static voidAnnotatorTester. checkResult(CAS cas, java.lang.String[] AnnotationTypes, java.io.File refFile, java.io.File testFile)checkResult compares the analyzed document with the reference output.CASAnnotatorTester. performTest(CAS cas)performs a test on the initialized annotator.voidAnnotationWriter. processCas(CAS aCAS) -
Uses of CAS in org.apache.uima.tools
Methods in org.apache.uima.tools with parameters of type CAS Modifier and Type Method Description voidRunAE. entityProcessComplete(CAS aCas, EntityProcessStatus aStatus) -
Uses of CAS in org.apache.uima.tools.components
Methods in org.apache.uima.tools.components with parameters of type CAS Modifier and Type Method Description 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. -
Uses of CAS in org.apache.uima.tools.cvd
Methods in org.apache.uima.tools.cvd that return CAS Modifier and Type Method Description CASMainFrame. getCas()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)voidMainFrame. setCas(CAS cas)voidFSTreeModel. update(java.lang.String indexName, FSIndex index, CAS cas1) -
Uses of CAS in org.apache.uima.tools.docanalyzer
Fields in org.apache.uima.tools.docanalyzer declared as CAS Modifier and Type Field Description protected CASDocumentAnalyzer. casMethods 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)Constructors in org.apache.uima.tools.docanalyzer with parameters of type CAS Constructor Description AnnotationViewerDialog(javax.swing.JFrame aParentFrame, java.lang.String aDialogTitle, PrefsMediator med, java.io.File aStyleMapFile, java.lang.String aPerformanceStats, TypeSystem aTypeSystem, java.lang.String[] aTypesToDisplay, boolean generatedStyleMap, CAS cas)AnnotationViewerDialog(javax.swing.JFrame aParentFrame, java.lang.String aDialogTitle, PrefsMediator med, java.io.File aStyleMapFile, java.lang.String aPerformanceStats, TypeSystem aTypeSystem, java.lang.String[] aTypesToDisplay, java.lang.String interactiveTempFN, boolean javaViewerRBisSelected, boolean javaViewerUCRBisSelected, boolean xmlRBisSelected, CAS cas)Create an AnnotationViewer Dialog -
Uses of CAS in org.apache.uima.tools.stylemap
Methods in org.apache.uima.tools.stylemap with parameters of type CAS Modifier and Type Method Description java.lang.StringStyleMapEditor. launchEditor(AnalysisEngineMetaData aAnalysisEngineMetaData, java.lang.String aStyleMapXml, CAS cas)Displays the StyleMapEditor GUI and allows the user to edit a style map.voidAnnotationFeaturesViewer. populate(AnalysisEngineDescription analysisEngine, AnalysisEngineMetaData aeMetaData, CAS cas)Constructors in org.apache.uima.tools.stylemap with parameters of type CAS Constructor Description StyleMapEditor(javax.swing.JFrame aOwner, CAS cas)Creates a new `Editor. -
Uses of CAS in org.apache.uima.tools.viewer
Methods in org.apache.uima.tools.viewer with parameters of type CAS Modifier and Type Method Description 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
Methods 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
Methods in org.apache.uima.util that return CAS Modifier and Type Method Description 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.CASCasPool. getCas()Checks out a CAS from the pool.CASCasPool. getCas(long aTimeout)Checks out a CAS from the pool.Methods in org.apache.uima.util that return types with arguments of type CAS Modifier and Type Method Description protected java.util.Vector<CAS>CasPool. getAllInstances()protected java.util.Vector<CAS>CasPool. getFreeInstances()Methods in org.apache.uima.util with parameters of type CAS Modifier and Type Method Description static 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.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.java.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.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.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.
-