Uses of Interface
org.apache.uima.cas_data.CasData
Package
Description
Utility classes and interfaces used by UIMA components.
-
Uses of CasData in org.apache.uima.cas_data.impl
Modifier and TypeMethodDescriptionstatic void
CasDataUtils.dumpFeatures
(CasData aCAS) void
CasDataToXCas.generateXCas
(CasData aCasData) Generates XCAS for a CasData.void
CasDataToXCas.generateXCas
(CasData aCasData, String aUEID) Special form ofCasDataToXCas.generateXCas(CasData)
that allows a UEID (Universal Entity ID) element to be added as the first element in the XCAS.void
CasDataToXCas.generateXCas
(CasData aCasData, String aUEID, boolean aSendStartAndEndDocEvents) Special form ofCasDataToXCas.generateXCas(CasData)
that allows a UEID (Universal Entity ID) element to be added as the first element in the XCAS and also allows start/end document SAX calls to be supressed.static NameValuePair[]
CasDataUtils.getCasDataFeatures
(CasData aCasData, String aFeatureStructureName) static String[]
CasDataUtils.getFeatureStructureValues
(CasData aCAS, String featureStructureName, String featureName) static String
CasDataUtils.getFeatureValueByType
(CasData aCAS, String featureName) static String
CasDataUtils.getFeatureValueByType
(CasData aCAS, String aFeatureStructure, String featureName) static boolean
CasDataUtils.hasFeature
(CasData aCAS, String featureName) static boolean
CasDataUtils.hasFeatureStructure
(CasData aCAS, String aName) ModifierConstructorDescriptionXCasToCasDataSaxHandler
(CasData aCasData) Create new XCasToCasDataSaxHandler. -
Uses of CasData in org.apache.uima.cas_data.impl.vinci
Modifier and TypeMethodDescriptionVinciCasDataConverter.vinciFrameToCasData
(AFrame aCasFrame) Converts a VinciFrame to a CasData.Modifier and TypeMethodDescriptionvoid
VinciCasDataConverter.appendVinciFrameToCasData
(AFrame aCasFrame, CasData aCasData) Converts a VinciFrame to a CasData, appending to an existing CasData.void
VinciCasDataConverter.casDataToVinciFrame
(CasData aCasData, AFrame aParentFrame) Converts a CasData to a VinciFrame.void
VinciCasDataConverter.vinciFrameToCasData
(AFrame aCasFrame, CasData aCasData) Deprecated.Use appendVinciFrameToCasData(Aframe, CasData) or vinciFrameToCasData(AFrame) -
Uses of CasData in org.apache.uima.collection.base_cpm
Modifier and TypeMethodDescriptionCasDataCollectionReader.getNext()
Gets the nextCasData
from thisCollectionReader
.CasData[]
CasDataCollectionReader.getNext
(int aNumToGet) Gets multipleCasData
objects from thisCasDataCollectionReader
.CasDataInitializer.initializeCas
(Object aObj) Deprecated.Reads content and metadata from an Object and creates aCasData
.Process a single CasData.CasData[]
Process multiple CasData objects.Modifier and TypeMethodDescriptionvoid
CasDataStatusCallbackListener.entityProcessComplete
(CasData aCasData, EntityProcessStatus aStatus) Called when the processing of each CasData unit has completed.Process a single CasData.CasData[]
Process multiple CasData objects. -
Uses of CasData in org.apache.uima.collection.impl
Modifier and TypeMethodDescriptionCasConverter.casContainerToCasData
(CAS aContainer) Convert CAS Container (aka CAS Object) to CAS DataModifier and TypeMethodDescriptionvoid
CasConverter.casDataToCasContainer
(CasData aData, CAS aContainer, boolean aLenient) Convert CAS Data to CAS Container (aka CAS Object) -
Uses of CasData in org.apache.uima.collection.impl.cpm.container
Modifier and TypeMethodDescriptionMain method used during analysis.CasData[]
Main method used during analysis. -
Uses of CasData in org.apache.uima.collection.impl.cpm.container.deployer
Modifier and TypeMethodDescriptionstatic CasData
VinciTAP.addKeysToDataCas
(CasData dataCas, AFrame aFrame) Appends keys (types) from XCAS to provided CasData instance doing conversions of ':' in WF keys to '_colon_' and '-' to '_dash_' to enforce UIMA compliance.CasData[]
VinciTAP.analyze
(CasData[] aCasList, ProcessTrace aPT, String aResourceName) Main routine that sends requests to remote vinci services.VinciTAP.analyze
(CasData aCas, ProcessTrace aPT, String aResourceName) Performs Analysis of the CAS by the remote vinci service Cas Processor.Modifier and TypeMethodDescriptionstatic CasData
VinciTAP.addKeysToDataCas
(CasData dataCas, AFrame aFrame) Appends keys (types) from XCAS to provided CasData instance doing conversions of ':' in WF keys to '_colon_' and '-' to '_dash_' to enforce UIMA compliance.CasData[]
VinciTAP.analyze
(CasData[] aCasList, ProcessTrace aPT, String aResourceName) Main routine that sends requests to remote vinci services.VinciTAP.analyze
(CasData aCas, ProcessTrace aPT, String aResourceName) Performs Analysis of the CAS by the remote vinci service Cas Processor. -
Uses of CasData in org.apache.uima.collection.impl.cpm.vinci
Modifier and TypeMethodDescriptionstatic void
DATACasUtils.addFeature
(CasData dataCas, String featureType, String featureName, String featureValue) Adds the feature.static void
DATACasUtils.addFeatureStructure
(CasData dataCas, String featureType, String featureName, String featureValue) Adds the feature structure.static void
DATACasUtils.dumpFeatures
(CasData aCAS) Dump features.static long
DATACasUtils.getByteCount
(CasData aDataCas) Gets the byte count.static NameValuePair[]
DATACasUtils.getCasDataFeatures
(CasData aCasData, String aFeatureStructureName) Gets the cas data features.static String
Vinci.getContentFromDATACas
(CasData aCas) Gets the content from DATA cas.static String[]
DATACasUtils.getFeatureStructureValues
(CasData aCAS, String featureStructureName, String featureName) Gets the feature structure values.static String
DATACasUtils.getFeatureValueByType
(CasData aCAS, String featureName) Gets the feature value by type.static String
DATACasUtils.getFeatureValueByType
(CasData aCAS, String aFeatureStructure, String featureName) Gets the feature value by type.static String
Vinci.getFeatureValueByType
(CasData aCAS, String featureName) Gets the feature value by type.static String
DATACasUtils.getXCASasString
(CasData aCasData, String[] keysToFilter) Gets the XCA sas string.static boolean
DATACasUtils.hasFeature
(CasData aCAS, String featureName) Checks for feature.static boolean
DATACasUtils.hasFeatureStructure
(CasData aCAS, String aName) Checks for feature structure.static boolean
DATACasUtils.isCasEmpty
(CasData aDataCas) Checks if is cas empty.static void
DATACasUtils.remapFeatureTypes
(CasData aDataCas, FeatureMap aFeatureMap) Remap feature types.static boolean
DATACasUtils.shouldAnalyzeCAS
(CasData aCAS, LinkedList aFilterList) Should analyze CAS. -
Uses of CasData in org.apache.uima.util
Modifier and TypeMethodDescriptionstatic TypeSystemDescription
CasCreationUtils.convertData2TypeSystem
(CasData aCasData) Extracts a TypeSystem definition from a CasData.