Uses of Interface
org.apache.uima.cas.Type
Packages that use Type
Package
Description
Common Analysis System(CAS) Interfaces
Implementation and Low-Level API for the CAS Interfaces.
Interfaces for accessing the JCAS.
JCAS model for built-in CAS types
Provides the classes that support the Java Cas Model (JCM).
Describes the format of the generated JCas cover classes for UIMA Version 3.
Utility classes and interfaces used by UIMA components.
-
Uses of Type in org.apache.uima.analysis_engine.impl
Fields in org.apache.uima.analysis_engine.impl with type parameters of type TypeModifier and TypeFieldDescriptionResultSpecification_impl.EMPTY_TYPE_LISTused for empty type subsumption lists in subtype iterator -
Uses of Type in org.apache.uima.cas
Methods in org.apache.uima.cas that return TypeModifier and TypeMethodDescriptionCAS.getAnnotationType()Get the type object for the annotation type.TypeSystem.getArrayType(Type componentType) Get or Create an array type with component typecomponentType.CAS.getCasType(Class<T> clazz) Type.getComponentType()For array types, returns the component type of the array type.Feature.getDomain()Get the domain type for this feature.Get the parent type for input type.Feature.getRange()Get the range type for this feature.TypeSystem.getTopType()Get the top type, i.e., the root of the type system.FeaturePath.getType(FeatureStructure fs) Returns the type of the feature path.FeatureStructure.getType()Get the type of this FS.FSIndex.getType()Return the type of feature structures this index contains.default TypeFSIterator.getType()Get a type object for a given type name.Methods in org.apache.uima.cas that return types with arguments of type TypeModifier and TypeMethodDescriptionTypeSystem.getDirectlySubsumedTypes(Type type) Deprecated.TypeSystem.getDirectSubtypes(Type type) Get a List of the types directly subsumed by a given type.TypeSystem.getProperlySubsumedTypes(Type type) Return the list of all types subsumed by the input type.TypeSystem.getTypeIterator()Get an iterator over all types, in no particular order.Methods in org.apache.uima.cas with parameters of type TypeModifier and TypeMethodDescriptionvoidAdd a new type to this type constraint.<T extends AnnotationFS>
AnnotationFSCAS.createAnnotation(Type type, int begin, int end) Create a new annotation.<T extends FeatureStructure>
TCreate a new FeatureStructure.default <T extends FeatureStructure>
FSArray<T> CAS.emptyFSArray(Type type) default <T extends TOP>
FSIterator<T> CAS.getAllIndexedFS(Type type) Gets an iterator over all indexed (in this CAS view) FeatureStructures of the specified Type (and any of its subtypes).<T extends FeatureStructure>
FSIterator<T> FSIndexRepository.getAllIndexedFS(Type aType) Gets an iterator over all indexed (in this View) FeatureStructures of the specified Type (and any of its subtypes).<T extends AnnotationFS>
AnnotationIndex<T> CAS.getAnnotationIndex(Type type) Get the standard annotation index restricted to a specific annotation type.TypeSystem.getArrayType(Type componentType) Get or Create an array type with component typecomponentType.TypeSystem.getDirectlySubsumedTypes(Type type) Deprecated.UsegetDirectSubtypes(Type)instead.TypeSystem.getDirectSubtypes(Type type) Get a List of the types directly subsumed by a given type.<T extends FeatureStructure>
FSIndex<T> Retrieve an index according to a label and a type.default <T extends TOP>
Collection<T> CAS.getIndexedFSs(Type type) Returns an unmodifiable collection of all the FSs that are indexed in this view, in an arbitrary order.<T extends TOP>
Collection<T> FSIndexRepository.getIndexedFSs(Type type) Returns an unmodifiable collection of all the FSs of this type and its subtypes, that are indexed in this view, in an arbitrary order.Get the parent type for input type.TypeSystem.getProperlySubsumedTypes(Type type) Return the list of all types subsumed by the input type.voidFSIndexRepository.removeAllExcludingSubtypes(Type type) Remove all instances of just this type, excluding subtypes, from all indexes in the repository view.voidFSIndexRepository.removeAllIncludingSubtypes(Type type) Remove all instances of type, including all subtypes from all indexes in the repository view.default booleanbooleanDoes one type inherit from the other?voidCheck the feature path for the given type and initialize internal structures for faster access to the feature path value. -
Uses of Type in org.apache.uima.cas.admin
Methods in org.apache.uima.cas.admin that return TypeModifier and TypeMethodDescriptionTypeSystemMgr.addStringSubtype(String typeName, String[] stringList) Inherit from String.Add a new type to the type system.FSIndexComparator.getType()Get the type of this comparator.Methods in org.apache.uima.cas.admin with parameters of type TypeModifier and TypeMethodDescriptionTypeSystemMgr.addFeature(String featureName, Type domainType, Type rangeType) Add an feature to the type system.TypeSystemMgr.addFeature(String featureName, Type domainType, Type rangeType, boolean multipleReferencesAllowed) Add an feature to the type system.Add a new type to the type system.booleanCompare two types.voidTypeSystemMgr.setFeatureFinal(Type type) Make type feature final in the sense that no new features can be added to this type.voidTypeSystemMgr.setInheritanceFinal(Type type) Block any further inheritance from this type.voidSet the type of this comparator. -
Uses of Type in org.apache.uima.cas.impl
Classes in org.apache.uima.cas.impl that implement TypeModifier and TypeClassDescriptionclassThe implementation of types in the type system.classA version of TypeImpl for Annotations and subtypes of AnnotationsclassA version of TypeImpl for the AnnotationBase type and its subtypesclassclassclassclassString or String SubtypeclassFields in org.apache.uima.cas.impl declared as TypeModifier and TypeFieldDescriptionprivate Type[]FeatureValuePathImpl.emptyListTypesprivate TypeFSIndexComparatorImpl.typeFields in org.apache.uima.cas.impl with type parameters of type TypeModifier and TypeFieldDescriptionTypeSystemImpl.arrayComponentTypeToArrayTypeMap from array component Type to the corresponding array typeTypeSystemImpl.arrayComponentTypeToArrayTypeMap from array component Type to the corresponding array typeCASImpl.SharedViewData.emptyFSArrayMapMethods in org.apache.uima.cas.impl that return TypeModifier and TypeMethodDescriptionTypeSystemImpl.addStringSubtype(String typeName, String[] stringList) CASImpl.getAnnotationType()TypeSystemImpl.getArrayType(Type componentType) TypeImpl_list.getCompoentType()FeatureImpl.getDomain()Get the domain type for this feature.FeatureImpl.getRange()Get the range type for this feature.FeaturePathImpl.getType(FeatureStructure fs) FeatureStructureImplC.getType()Returns the UIMA TypeImpl valueFsIndex_iicp.getType()FsIndex_singletype.getType()FsIndex_snapshot.getType()FSIndexComparatorImpl.getType()LowLevelIterator_empty.getType()LowLevelTypeSystem.ll_getTypeForCode(int typeCode) Get a type object for a given code.TypeSystemImpl.ll_getTypeForCode(int typeCode) Methods in org.apache.uima.cas.impl that return types with arguments of type TypeModifier and TypeMethodDescriptionTypeSystemImpl.getDirectlySubsumedTypes(Type type) Get a vector of the types directly subsumed by a given type.TypeSystemImpl.getDirectSubtypes(Type type) TypeSystemImpl.getProperlySubsumedTypes(Type type) Return the list of all types subsumed by the input type.CASMgrSerializer.getStringSubtypes(TypeSystemImpl ts) TypeSystemImpl.getTypeIterator()Get an iterator over all types, in no particular order.TypeSystemImpl.iterator()Methods in org.apache.uima.cas.impl with parameters of type TypeModifier and TypeMethodDescriptionvoid(package private) TypeImpl_arrayTypeSystemImpl.addArrayType(Type componentType, SlotKinds.SlotKind slotKind, boolean isHeapStoredArray, Class<?> javaClass) Add an array type.TypeSystemImpl.addFeature(String featureName, Type domainType, Type rangeType) TypeSystemImpl.addFeature(String shortFeatName, Type domainType, Type rangeType, boolean multipleReferencesAllowed) Add a new type to the type system.(package private) voidTypeImpl.checkExistingFeatureCompatible(FeatureImpl existingFi, Type range) private booleanfinal voidCASImpl.checkTypingConditions(Type domType, Type ranType, Feature feat) Check the range is appropriate for this type/feature.static final intTypeSystemUtils.classifyType(Type type) Classify types into FS type, array type etc.private TypeImplTypeSystemImpl.computeArrayParentFromComponentType(Type componentType) Given a component type, return the parent type of the corresponding array type, without needing the corresponding array type to exist (yet).CASImpl.createAnnotation(Type type, int begin, int end) <T extends FeatureStructure>
TCreate the appropriate Feature Structure Java instance - from whatever the generator for this type specifies.CASImpl.emptyArray(Type type) <T extends FeatureStructure>
FSArray<T> CASImpl.emptyFSArray(Type type) <T extends FeatureStructure>
LowLevelIterator<T> FSIndexRepositoryImpl.getAllIndexedFS(Type type) private final <T extends FeatureStructure>
voidFSIndexRepositoryImpl.getAllIndexedFS(Type type, List<LowLevelIterator<T>> iteratorList) <T extends AnnotationFS>
AnnotationIndex<T> CASImpl.getAnnotationIndex(Type type) TypeSystemImpl.getArrayType(Type componentType) private static final StringFSIndexRepositoryImpl.getAutoIndexNameForType(Type type) TypeSystemImpl.getDirectlySubsumedTypes(Type type) Get a vector of the types directly subsumed by a given type.TypeSystemImpl.getDirectSubtypes(Type type) private FeatureImplTypeSystemImpl.getFeature(Type type, String featureShortName) <T extends FeatureStructure>
FSIndex<T> <T extends TOP>
Collection<T> FSIndexRepositoryImpl.getIndexedFSs(Type type) TypeSystemImpl.getIntroFeatures(Type type) TypeSystemImpl.getProperlySubsumedTypes(Type type) Return the list of all types subsumed by the input type.(package private) static SlotKinds.SlotKindTypeSystemImpl.getSlotKindFromType(Type rangeType) Given a range type, return the corresponding slot kind string -> Slot_StrRef, long and double -> ...Ref boolean, byte, int, short, float, -> withoutRefdefault <U extends T>
LowLevelIndex<U> LowLevelIndex.getSubIndex(Type type) private intXmiCasDeserializer.XmiCasDeserializerHandler.handleFeatMultiValueFromName(Type type, TOP fs, String featName, ArrayList<String> featVals) called from endElement after collecting non-byte array element instances into a string list for a particular array or list feature (excluding oots and deferred FSs)private voidXCASDeserializer.XCASDeserializerHandler.handleFeature(Type type, TOP fs, String featName, String featValIn, boolean lenient) final booleanCASImpl.isAbstractArrayType(Type type) booleanTypeSystemImpl.isAnnotationBaseOrSubtype(Type type) booleanTypeSystemImpl.isAnnotationOrSubtype(Type type) booleanCASImpl.isAnnotationType(Type t) final booleanCASImpl.isArrayType(Type type) final booleanCASImpl.isBooleanArrayType(Type type) final booleanCASImpl.isBooleanType(Type type) final booleanCASImpl.isByteArrayType(Type type) final booleanCASImpl.isByteType(Type type) final booleanCASImpl.isDoubleArrayType(Type type) final booleanCASImpl.isDoubleType(Type type) final booleanCASImpl.isFloatArrayType(Type type) final booleanCASImpl.isFloatType(Type type) final booleanCASImpl.isFSArrayType(Type type) booleanfinal booleanCASImpl.isIntArrayType(Type type) final booleanfinal booleanCASImpl.isLongArrayType(Type type) final booleanCASImpl.isLongType(Type type) static final TypeSystemUtils.PathValidTypeSystemUtils.isPathValid(Type type, List<String> path) Given a starting Type and a list of features representing a feature path, checks if a feature path is valid for a given type.final booleanCASImpl.isPrimitiveArrayType(Type type) final booleanCASImpl.isShortArrayType(Type type) final booleanCASImpl.isShortType(Type type) final booleanCASImpl.isStringArrayType(Type type) final booleanCASImpl.isStringType(Type type) boolean<T extends FeatureStructure>
LowLevelIterator<T> FSIndexRepositoryImpl.ll_getAllIndexedFS(Type type) intLowLevelTypeSystem.ll_getCodeForType(Type type) Get the code of an existing type object.intTypeSystemImpl.ll_getCodeForType(Type type) (package private) voidTypeSystemImpl.newTypeCheckNoInheritanceFinalCheck(String typeName, Type superType) (package private) voidTypeSystemImpl.newTypeChecks(String typeName, Type superType) TypeSystemImpl.refreshType(Type t) voidFSIndexRepositoryImpl.removeAllExcludingSubtypes(Type type) Remove all instances of a particular type (but not its subtypes) from all indexesvoidFSIndexRepositoryImpl.removeAllIncludingSubtypes(Type type) Remove all instances of a particular type (including its subtypes) from all indexesvoidTypeSystemImpl.setFeatureFinal(Type type) voidTypeSystemImpl.setInheritanceFinal(Type type) voidprivate static voidTypeSystemImpl.setTypeFinal(Type type) FSIndexRepositoryImpl.streamNonEmptyIndexes(Type type) Stream instances of all of the non-empty indexes themselvesbooleanDoes one type inherit from the other? There are two versions.<N extends T>
SelectFSs_impl<N> voidConstructors in org.apache.uima.cas.impl with parameters of type TypeModifierConstructorDescription(package private)FsIndex_bag(CASImpl cas, Type type, int initialSize, int indexType, FSIndexComparator comparatorForIndexSpecs) (package private)FsIndex_set_sorted(CASImpl cas, Type type, int indexType, FSIndexComparator comparatorForIndexSpecs) protectedFsIndex_singletype(CASImpl cas, Type type, int indexType, FSIndexComparator comparatorForIndexSpecs) Constructor for FsIndex_singletype.privateFSIndexComparatorImpl(Type type, List<Object> keySpecs, IntVector directions) -
Uses of Type in org.apache.uima.jcas
Methods in org.apache.uima.jcas that return TypeModifier and TypeMethodDescriptionJCas.getCasType(int i) Given Foo.type, return the corresponding CAS Type object.JCas.getCasType(Class<? extends FeatureStructure> clazz) Return the UIMA Type object corresponding to this JCas's JCas cover class (Note: different JCas's, with different type systems, may share the same cover class impl)JCas.getRequiredType(String s) Methods in org.apache.uima.jcas with parameters of type TypeModifier and TypeMethodDescriptiondefault <T extends TOP>
FSIterator<T> JCas.getAllIndexedFS(Type type) Gets an iterator over all indexed FeatureStructures of the specified Type (and any of its subtypes).<T extends TOP>
FSIterator<T> JFSIndexRepository.getAllIndexedFS(Type aType) Gets an iterator over all indexed FeatureStructures of the specified Type (and any of its subtypes).<T extends Annotation>
AnnotationIndex<T> JCas.getAnnotationIndex(Type type) Get the standard annotation index restricted to a specific annotation type.default <T extends TOP>
Collection<T> JCas.getIndexedFSs(Type type) Returns an unmodifiable collection of all the FSs that are indexed in this view, in an arbitrary order.JCas.getRequiredFeature(Type t, String s) default FeatureJCas.getRequiredFeatureDE(Type t, String s, String rangeName, boolean featOkTst) Deprecated. -
Uses of Type in org.apache.uima.jcas.cas
Fields in org.apache.uima.jcas.cas declared as TypeModifier and TypeFieldDescriptionfinal TypeTOP_Type.casTypeDeprecated.the Cas Type associated with this Java Cas Model classMethods in org.apache.uima.jcas.cas with parameters of type TypeModifier and TypeMethodDescriptionTreat an FSArray as a source for SelectFSs.Treat an FSArray as a source for SelectFSs.Constructors in org.apache.uima.jcas.cas with parameters of type Type -
Uses of Type in org.apache.uima.jcas.impl
Methods in org.apache.uima.jcas.impl that return TypeModifier and TypeMethodDescriptionJCasImpl.getCasType(int i) JCasImpl.getCasType(Class<? extends FeatureStructure> clazz) Return the UIMA Type object corresponding to this JCas's JCas cover class (Note: different JCas's, with different type systems, may share the same cover class impl)JCasImpl.getRequiredType(String s) Methods in org.apache.uima.jcas.impl with parameters of type TypeModifier and TypeMethodDescription<T extends TOP>
FSIterator<T> JFSIndexRepositoryImpl.getAllIndexedFS(Type aType) <T extends Annotation>
AnnotationIndex<T> JCasImpl.getAnnotationIndex(Type type) JCasImpl.getRequiredFeature(Type t, String s) -
Uses of Type in org.apache.uima.jcas.tcas
Constructors in org.apache.uima.jcas.tcas with parameters of type Type -
Uses of Type in org.apache.uima.tools.components
Fields in org.apache.uima.tools.components declared as Type -
Uses of Type in org.apache.uima.tools.cvd
Fields in org.apache.uima.tools.cvd declared as TypeModifier and TypeFieldDescriptionprivate final TypeIndexTreeNode.typeThe type.private final TypeTypeTreeNode.typeThe type.Methods in org.apache.uima.tools.cvd that return TypeModifier and TypeMethodDescriptionIndexTreeNode.getType()Returns the type.TypeTreeNode.getType()Returns the type.Methods in org.apache.uima.tools.cvd with parameters of type TypeModifier and TypeMethodDescriptionprivate static voidAnnotationDisplayCustomizationFrame.addChildren(DefaultMutableTreeNode node, Type type, TypeSystem ts) Adds the children.private DefaultMutableTreeNodeMainFrame.createTypeTree(Type type, TypeSystem ts, String label, FSIndexRepository ir) Creates the type tree.(package private) intFSTreeModel.getNodeType(Type type) Gets the node type.Constructors in org.apache.uima.tools.cvd with parameters of type TypeModifierConstructorDescriptionIndexTreeNode(String name, Type type, int size) Instantiates a new index tree node.TypeTreeNode(Type type, String label, int size) Instantiates a new type tree node. -
Uses of Type in org.apache.uima.tools.cvd.tsview
Fields in org.apache.uima.tools.cvd.tsview declared as TypeModifier and TypeFieldDescriptionprivate TypeMainFrame.selectedTypeThe selected type.private TypeFeatureTableModel.typeThe type.Methods in org.apache.uima.tools.cvd.tsview with parameters of type TypeModifier and TypeMethodDescriptionprivate DefaultMutableTreeNodeMainFrame.createTypeTree(Type type) Creates the type tree.voidSets the type.Constructors in org.apache.uima.tools.cvd.tsview with parameters of type Type -
Uses of Type in org.apache.uima.tools.jcasgen
Fields in org.apache.uima.tools.jcasgen declared as Type -
Uses of Type in org.apache.uima.tools.viewer
Fields in org.apache.uima.tools.viewer declared as TypeModifier and TypeFieldDescriptionprivate TypeCasAnnotationViewer.fsArrayTypeThe fs array type.private TypeCasAnnotationViewer.stringTypeThe string type.private TypeCasAnnotationViewer.TypeTreeNodeObject.typeThe type.Fields in org.apache.uima.tools.viewer with type parameters of type TypeModifier and TypeFieldDescriptionprivate Map<Type, JRadioButton> CasAnnotationViewer.typeRadioButtonMapThe type radio button map.CasAnnotationViewer.typeToCheckBoxMapThe type to check box map.Methods in org.apache.uima.tools.viewer that return TypeModifier and TypeMethodDescriptionCasAnnotationViewer.TypeTreeNodeObject.getType()Gets the type.Constructors in org.apache.uima.tools.viewer with parameters of type TypeModifierConstructorDescriptionTypeTreeNodeObject(Type inType) Instantiates a new type tree node object. -
Uses of Type in org.apache.uima.util
Methods in org.apache.uima.util with parameters of type TypeModifier and TypeMethodDescriptionstatic String[]TypeSystemUtil.getAllowedValuesForType(Type aType, TypeSystem aTypeSystem) Gets the allowed values for a string subtype.static TypeDescriptionTypeSystemUtil.type2TypeDescription(Type aType, TypeSystem aTypeSystem) Convert aTypeto an equivalentTypeDescription.
getDirectSubtypes(Type)instead.