Uses of Interface
org.apache.uima.cas.TypeSystem
-
-
Uses of TypeSystem in org.apache.uima.analysis_component
Fields in org.apache.uima.analysis_component declared as TypeSystem Modifier and Type Field Description private TypeSystemCasAnnotator_ImplBase. mLastTypeSystemStores the last type system that this component operated on, so we can tell when typeSystemInit needs to be called.private TypeSystemCasMultiplier_ImplBase. mLastTypeSystemStores the last type system that this component operated on, so we can tell when typeSystemInit needs to be called.Methods in org.apache.uima.analysis_component with parameters of type TypeSystem Modifier and Type Method Description voidCasAnnotator_ImplBase. typeSystemInit(TypeSystem aTypeSystem)Informs this annotator that the CAS TypeSystem has changed.voidCasMultiplier_ImplBase. typeSystemInit(TypeSystem aTypeSystem)Informs this annotator that the CAS TypeSystem has changed. -
Uses of TypeSystem in org.apache.uima.analysis_engine
Methods in org.apache.uima.analysis_engine that return TypeSystem Modifier and Type Method Description TypeSystemResultSpecification. getTypeSystem()get the type system associated with this result specification.Methods in org.apache.uima.analysis_engine with parameters of type TypeSystem Modifier and Type Method Description voidResultSpecification. compile(TypeSystem aTypeSystem)Deprecated.as of 2.2.2 Now called automatically internally when neededResultSpecificationAnalysisEngine. createResultSpecification(TypeSystem aTypeSystem)A factory method used to create an instance ofResultSpecificationfor use with this AnalysisEngine.voidResultSpecification. setTypeSystem(TypeSystem ts)set the type system associated with this result specification. -
Uses of TypeSystem in org.apache.uima.analysis_engine.annotator
Fields in org.apache.uima.analysis_engine.annotator declared as TypeSystem Modifier and Type Field Description private TypeSystemAnnotator_ImplBase. mTypeSystemDeprecated.Stores the last TypeSystem passed toAnnotator_ImplBase.typeSystemInit(TypeSystem).Methods in org.apache.uima.analysis_engine.annotator that return TypeSystem Modifier and Type Method Description protected TypeSystemAnnotator_ImplBase. getTypeSystem()Deprecated.Gets theTypeSystemthat was passed to the most recent call toAnnotator_ImplBase.typeSystemInit(TypeSystem).Methods in org.apache.uima.analysis_engine.annotator with parameters of type TypeSystem Modifier and Type Method Description voidAnnotator_ImplBase. typeSystemInit(TypeSystem aTypeSystem)Deprecated.The only thing this implementation does is store the TypeSystem so that it can be accessed by theAnnotator_ImplBase.getTypeSystem()method, and also so that it can be passed back to theAnnotator_ImplBase.typeSystemInit(TypeSystem)method by the default implementation ofAnnotator_ImplBase.reconfigure().voidBaseAnnotator. typeSystemInit(TypeSystem aTypeSystem)Informs this annotator that the CAS TypeSystem has changed. -
Uses of TypeSystem in org.apache.uima.analysis_engine.impl
Fields in org.apache.uima.analysis_engine.impl declared as TypeSystem Modifier and Type Field Description private TypeSystemPrimitiveAnalysisEngine_impl. mLastTypeSystemprivate TypeSystemResultSpecification_impl. mTypeSystemThe type system used to compute the subtypes and allAnnotatorFeatures of typesMethods in org.apache.uima.analysis_engine.impl that return TypeSystem Modifier and Type Method Description TypeSystemResultSpecification_impl. getTypeSystem()Methods in org.apache.uima.analysis_engine.impl with parameters of type TypeSystem Modifier and Type Method Description voidResultSpecification_impl. compile(TypeSystem aTypeSystem)Deprecated.no longer needed, remove call to thisResultSpecificationAnalysisEngineImplBase. createResultSpecification(TypeSystem aTypeSystem)ResultSpecificationPearAnalysisEngineWrapper. createResultSpecification(TypeSystem typeSystem)(package private) java.util.List<Feature>RsType. getAllAppropriateFeatures(TypeSystem ts)returns the Features for a type in a result spec(package private) booleanRsType. hasAllFeaturesExplicitly(TypeSystem ts)voidResultSpecification_impl. setTypeSystem(TypeSystem ts)voidAnalysisEngineImplBase. typeSystemInit(TypeSystem aTypeSystem)From the CAS Processor interface.voidPearAnalysisEngineWrapper. typeSystemInit(TypeSystem typeSystem)Constructors in org.apache.uima.analysis_engine.impl with parameters of type TypeSystem Constructor Description ResultSpecification_impl(TypeSystem aTypeSystem)Constructor specifying the type system this should always be used in preference to the 0 argument version if the type system is available. -
Uses of TypeSystem in org.apache.uima.analysis_engine.impl.compatibility
Fields in org.apache.uima.analysis_engine.impl.compatibility declared as TypeSystem Modifier and Type Field Description private TypeSystemAnnotatorAdapter. mLastTypeSystemprivate TypeSystemCasConsumerAdapter. mLastTypeSystemprivate TypeSystemCollectionReaderAdapter. mLastTypeSystem -
Uses of TypeSystem in org.apache.uima.cas
Methods in org.apache.uima.cas that return TypeSystem Modifier and Type Method Description TypeSystemCAS. getTypeSystem()Return the type system of this CAS instance. -
Uses of TypeSystem in org.apache.uima.cas.admin
Subinterfaces of TypeSystem in org.apache.uima.cas.admin Modifier and Type Interface Description interfaceTypeSystemMgrWritable version of type system.Methods in org.apache.uima.cas.admin that return TypeSystem Modifier and Type Method Description TypeSystemTypeSystemMgr. commit()Commit the type system, and load JCas Classes from the UIMA Framework's classloader.TypeSystemTypeSystemMgr. commit(java.lang.ClassLoader cl)Commit the type system, and load JCas classes from the passed in classloader.Methods in org.apache.uima.cas.admin with parameters of type TypeSystem Modifier and Type Method Description static CASMgrCASFactory. createCAS(int initialHeapSize, TypeSystem ts)Create a new CASMgr object from a give type system.static CASMgrCASFactory. createCAS(int initialHeapSize, TypeSystem ts, boolean useJcasCache)static CASMgrCASFactory. createCAS(TypeSystem ts)Create a new CASMgr object from a give type system.static CASMgrCASFactory. createCAS(TypeSystem ts, boolean useJcasCache) -
Uses of TypeSystem in org.apache.uima.cas.impl
Classes in org.apache.uima.cas.impl that implement TypeSystem Modifier and Type Class Description classTypeSystemImplType system implementation.Fields in org.apache.uima.cas.impl declared as TypeSystem Modifier and Type Field Description private TypeSystemFSTypeConstraintImpl. tsprivate TypeSystemLinearTypeOrderBuilderImpl. tsMethods in org.apache.uima.cas.impl that return TypeSystem Modifier and Type Method Description TypeSystemCASImpl. getTypeSystem()Methods in org.apache.uima.cas.impl with parameters of type TypeSystem Modifier and Type Method Description static voidTypeSystemImpl. compareTs(TypeSystem t1, TypeSystem t2)private voidFSTypeConstraintImpl. compile(TypeSystem ts1)static LinearTypeOrderLinearTypeOrderBuilderImpl. createTypeOrder(int[] typeList, TypeSystem ts)The constructor for the total type order, called by the other constructor and also when doing a cas complete deserialization, or just deserializing the type system/index defsstatic 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.private static int[]LinearTypeOrderBuilderImpl.TotalTypeOrder. encodeTypeList(java.lang.String[] typeList, TypeSystem ts)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.static 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.static voidTypeSystem2Xml. typeSystem2Xml(TypeSystem aTypeSystem, java.io.OutputStream aOutputStream)Converts a TypeSystem object to XML.static voidTypeSystem2Xml. typeSystem2Xml(TypeSystem aTypeSystem, org.xml.sax.ContentHandler aContentHandler)Traverses a TypeSystem and calls SAX events on the specified ContentHandler.Constructors in org.apache.uima.cas.impl with parameters of type TypeSystem Constructor Description LinearTypeOrderBuilderImpl(TypeSystem ts)TotalTypeOrder(int[] typeList, TypeSystem ts, boolean isEmpty)The constructor for the total type order, called by the other constructor and also when doing a cas complete deserialization, or just deserializing the type system/index defs Create the order from an array of type codes in ascending order.TotalTypeOrder(java.lang.String[] typeList, TypeSystem ts, boolean isEmpty)XCASDeserializer(TypeSystem ts)XCASDeserializer(TypeSystem ts, UimaContext uimaContext)Create a new deserializer from a type system.XCASSerializer(TypeSystem ts)XCASSerializer(TypeSystem ts, UimaContext uimaContext)XmiCasDeserializer(TypeSystem ts)XmiCasDeserializer(TypeSystem ts, UimaContext uimaContext)Create a new deserializer from a type system.XmiCasSerializer(TypeSystem ts)Creates a new XmiCasSerializer.XmiCasSerializer(TypeSystem ts, java.util.Map<java.lang.String,java.lang.String> nsUriToSchemaLocationMap)Creates a new XmiCasSerializer.XmiCasSerializer(TypeSystem ts, java.util.Map<java.lang.String,java.lang.String> nsUriToSchemaLocationMap, boolean isFormattedOutput)Creates a new XmiCasSerializerXmiCasSerializer(TypeSystem ts, UimaContext uimaContext)Deprecated.UseXmiCasSerializer(TypeSystem)instead.XmiCasSerializer(TypeSystem ts, UimaContext uimaContext, java.util.Map<java.lang.String,java.lang.String> nsUriToSchemaLocationMap)Deprecated.UseXmiCasSerializer(TypeSystem, Map)instead. -
Uses of TypeSystem in org.apache.uima.collection
Methods in org.apache.uima.collection with parameters of type TypeSystem Modifier and Type Method Description voidCasConsumer_ImplBase. typeSystemInit(TypeSystem arg0)voidCasInitializer_ImplBase. typeSystemInit(TypeSystem arg0)Deprecated.voidCasInitializer. typeSystemInit(TypeSystem aTypeSystem)Deprecated.Informs this CasInitializer that the CAS TypeSystem has changed.voidCollectionReader_ImplBase. typeSystemInit(TypeSystem aTypeSystem)Default implementation of typeSystemInit, which calls the CAS Initializer's typeSystemInit method if a CAS Initializer is present.voidCollectionReader. typeSystemInit(TypeSystem aTypeSystem)Informs this CollectionReader that the CAS TypeSystem has changed. -
Uses of TypeSystem in org.apache.uima.collection.base_cpm
Methods in org.apache.uima.collection.base_cpm with parameters of type TypeSystem Modifier and Type Method Description voidCasObjectProcessor. typeSystemInit(TypeSystem aTypeSystem)Informs this CasConsumer that the CAS TypeSystem has changed. -
Uses of TypeSystem in org.apache.uima.collection.impl.cpm.container
Methods in org.apache.uima.collection.impl.cpm.container with parameters of type TypeSystem Modifier and Type Method Description voidCasObjectNetworkCasProcessorImpl. typeSystemInit(TypeSystem aTypeSystem) -
Uses of TypeSystem in org.apache.uima.flow
Fields in org.apache.uima.flow declared as TypeSystem Modifier and Type Field Description private TypeSystemCasFlowController_ImplBase. mLastTypeSystemMethods in org.apache.uima.flow with parameters of type TypeSystem Modifier and Type Method Description voidCasFlowController_ImplBase. typeSystemInit(TypeSystem aTypeSystem)This method may be overriden by subclasses. -
Uses of TypeSystem in org.apache.uima.flow.impl
Fields in org.apache.uima.flow.impl declared as TypeSystem Modifier and Type Field Description private TypeSystemCapabilityLanguageFlowObject. mLastTypeSystemsave the last type system -
Uses of TypeSystem in org.apache.uima.jcas
Methods in org.apache.uima.jcas that return TypeSystem Modifier and Type Method Description TypeSystemJCas. getTypeSystem()Return the type system of this CAS instance. -
Uses of TypeSystem in org.apache.uima.jcas.impl
Methods in org.apache.uima.jcas.impl that return TypeSystem Modifier and Type Method Description TypeSystemJCasImpl. getTypeSystem() -
Uses of TypeSystem in org.apache.uima.json
Methods in org.apache.uima.json with parameters of type TypeSystem Modifier and Type Method Description static 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). -
Uses of TypeSystem in org.apache.uima.resource.impl
Fields in org.apache.uima.resource.impl declared as TypeSystem Modifier and Type Field Description private TypeSystemCasManager_impl. mCurrentTypeSystem -
Uses of TypeSystem in org.apache.uima.tools.components
Methods in org.apache.uima.tools.components with parameters of type TypeSystem Modifier and Type Method Description voidXmlDetagger. typeSystemInit(TypeSystem aTypeSystem) -
Uses of TypeSystem in org.apache.uima.tools.cvd
Methods in org.apache.uima.tools.cvd with parameters of type TypeSystem Modifier and Type Method Description private static voidAnnotationDisplayCustomizationFrame. addChildren(javax.swing.tree.DefaultMutableTreeNode node, Type type, TypeSystem ts)Adds the children.private javax.swing.tree.TreeModelAnnotationDisplayCustomizationFrame. createTreeModel(TypeSystem ts)Creates the tree model.private javax.swing.tree.DefaultMutableTreeNodeMainFrame. createTypeTree(Type type, TypeSystem ts, java.lang.String label, FSIndexRepository ir)Creates the type tree. -
Uses of TypeSystem in org.apache.uima.tools.cvd.tsview
Fields in org.apache.uima.tools.cvd.tsview declared as TypeSystem Modifier and Type Field Description (package private) TypeSystemMainFrame. tsThe ts.Methods in org.apache.uima.tools.cvd.tsview with parameters of type TypeSystem Modifier and Type Method Description voidMainFrame. setTypeSystem(TypeSystem ts)Sets the type system. -
Uses of TypeSystem in org.apache.uima.tools.docanalyzer
Fields in org.apache.uima.tools.docanalyzer declared as TypeSystem Modifier and Type Field Description protected TypeSystemDocumentAnalyzer. currentTypeSystemThe current type system.(package private) TypeSystemAnnotationViewerDialog. typeSystemThe type system.Methods in org.apache.uima.tools.docanalyzer with parameters of type TypeSystem Modifier and Type Method Description voidAnnotationViewerDialog. launchThatViewer(java.lang.String inputDirPath, java.lang.String fileName, TypeSystem typeSystem, java.lang.String[] aTypesToDisplay, boolean javaViewerRBisSelected, boolean javaViewerUCRBisSelected, boolean xmlRBisSelected, java.io.File styleMapFile, java.io.File viewerDirectory)Launch that viewer.Constructors in org.apache.uima.tools.docanalyzer with parameters of type TypeSystem 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 TypeSystem in org.apache.uima.tools.jcasgen
Fields in org.apache.uima.tools.jcasgen declared as TypeSystem Modifier and Type Field Description (package private) static TypeSystemJg. builtInTypeSystemThe built in type system.private TypeSystemJg. typeSystemThe type system. -
Uses of TypeSystem in org.apache.uima.tools.viewer
Fields in org.apache.uima.tools.viewer declared as TypeSystem Modifier and Type Field Description private TypeSystemCasAnnotationViewer. typeSystemThe type system. -
Uses of TypeSystem in org.apache.uima.uimacpp
Methods in org.apache.uima.uimacpp with parameters of type TypeSystem Modifier and Type Method Description voidUimacppAnalysisComponent. typeSystemInit(TypeSystem ts) -
Uses of TypeSystem in org.apache.uima.util
Methods in org.apache.uima.util with parameters of type TypeSystem Modifier and Type Method Description 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(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, TypeSystem typeSystem)Create a CAS from a CAS Definition, but reuse the provided TypeSystem object.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.static java.lang.String[]TypeSystemUtil. getAllowedValuesForType(Type aType, TypeSystem aTypeSystem)Gets the allowed values for a string subtype.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 voidXmlCasSerializer. serialize(CAS aCAS, TypeSystem aTargetTypeSystem, java.io.OutputStream aStream)Serializes a CAS to XMI format and writes it to an output stream.static TypeDescriptionTypeSystemUtil. type2TypeDescription(Type aType, TypeSystem aTypeSystem)Convert aTypeto an equivalentTypeDescription.static TypeSystemDescriptionTypeSystemUtil. typeSystem2TypeSystemDescription(TypeSystem aTypeSystem)Convert aTypeSystemto an equivalentTypeSystemDescription.
-