Uses of Interface
org.apache.uima.cas.Type
-
Packages that use Type Package Description org.apache.uima.analysis_engine.impl org.apache.uima.cas Common Analysis System(CAS) Interfacesorg.apache.uima.cas.admin org.apache.uima.cas.impl Implementation and Low-Level API for the CAS Interfaces.org.apache.uima.jcas Interfaces for accessing the JCAS.org.apache.uima.jcas.cas JCAS model for built-in CAS typesorg.apache.uima.jcas.impl Provides the classes that support the Java Cas Model (JCM).org.apache.uima.jcas.tcas org.apache.uima.tools.components org.apache.uima.tools.cvd org.apache.uima.tools.cvd.tsview org.apache.uima.tools.jcasgen Describes the format of the generated JCas cover classes for UIMA Version 3.org.apache.uima.tools.viewer org.apache.uima.util 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 Type Modifier and Type Field Description static java.util.List<Type>ResultSpecification_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 Type Modifier and Type Method Description TypeCAS. getAnnotationType()Get the type object for the annotation type.TypeTypeSystem. getArrayType(Type componentType)Get or Create an array type with component typecomponentType.default <T extends TOP>
TypeCAS. getCasType(java.lang.Class<T> clazz)TypeType. getComponentType()For array types, returns the component type of the array type.TypeFeature. getDomain()Get the domain type for this feature.TypeTypeSystem. getParent(Type type)Get the parent type for input type.TypeFeature. getRange()Get the range type for this feature.TypeTypeSystem. getTopType()Get the top type, i.e., the root of the type system.TypeFeaturePath. getType(FeatureStructure fs)Returns the type of the feature path.TypeFeatureStructure. getType()Get the type of this FS.TypeFSIndex. getType()Return the type of feature structures this index contains.default TypeFSIterator. getType()TypeTypeNameSpace. getType(java.lang.String typeName)TypeTypeSystem. getType(java.lang.String typeName)Get a type object for a given type name.Methods in org.apache.uima.cas that return types with arguments of type Type Modifier and Type Method Description java.util.Vector<Type>TypeSystem. getDirectlySubsumedTypes(Type type)Deprecated.UsegetDirectSubtypes(Type)instead.java.util.List<Type>TypeSystem. getDirectSubtypes(Type type)Get a List of the types directly subsumed by a given type.java.util.List<Type>TypeSystem. getProperlySubsumedTypes(Type type)Return the list of all types subsumed by the input type.java.util.Iterator<Type>TypeSystem. getTypeIterator()Get an iterator over all types, in no particular order.Methods in org.apache.uima.cas with parameters of type Type Modifier and Type Method Description voidFSTypeConstraint. add(Type type)Add 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>
TCAS. createFS(Type type)Create 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.TypeTypeSystem. getArrayType(Type componentType)Get or Create an array type with component typecomponentType.java.util.Vector<Type>TypeSystem. getDirectlySubsumedTypes(Type type)Deprecated.UsegetDirectSubtypes(Type)instead.java.util.List<Type>TypeSystem. getDirectSubtypes(Type type)Get a List of the types directly subsumed by a given type.<T extends FeatureStructure>
FSIndex<T>FSIndexRepository. getIndex(java.lang.String label, Type type)Retrieve an index according to a label and a type.default <T extends TOP>
java.util.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>
java.util.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.TypeTypeSystem. getParent(Type type)Get the parent type for input type.java.util.List<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 <T extends TOP>
SelectFSs<T>CAS. select(Type type)<N extends T>
SelectFSs<N>FSIndex. select(Type type)default booleanType. subsumes(Type subtype)booleanTypeSystem. subsumes(Type superType, Type subType)Does one type inherit from the other?default <U extends T>
FSIndex<U>FSIndex. subType(Type type)voidFeaturePath. typeInit(Type featurePathType)Check 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 Type Modifier and Type Method Description TypeTypeSystemMgr. addStringSubtype(java.lang.String typeName, java.lang.String[] stringList)Inherit from String.TypeTypeSystemMgr. addType(java.lang.String typeName, Type mother)Add a new type to the type system.TypeFSIndexComparator. getType()Get the type of this comparator.Methods in org.apache.uima.cas.admin with parameters of type Type Modifier and Type Method Description FeatureTypeSystemMgr. addFeature(java.lang.String featureName, Type domainType, Type rangeType)Add an feature to the type system.FeatureTypeSystemMgr. addFeature(java.lang.String featureName, Type domainType, Type rangeType, boolean multipleReferencesAllowed)Add an feature to the type system.TypeTypeSystemMgr. addType(java.lang.String typeName, Type mother)Add a new type to the type system.booleanLinearTypeOrder. lessThan(Type t1, Type t2)Compare 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.voidFSIndexComparator. setType(Type type)Set the type of this comparator. -
Uses of Type in org.apache.uima.cas.impl
Classes in org.apache.uima.cas.impl that implement Type Modifier and Type Class Description classTypeImplThe implementation of types in the type system.classTypeImpl_annotA version of TypeImpl for Annotations and subtypes of AnnotationsclassTypeImpl_annotBaseA version of TypeImpl for the AnnotationBase type and its subtypesclassTypeImpl_arrayclassTypeImpl_listclassTypeImpl_primitiveclassTypeImpl_stringString or String SubtypeclassTypeImpl_stringSubtypeFields in org.apache.uima.cas.impl declared as Type Modifier and Type Field Description private Type[]FeatureValuePathImpl. emptyListTypesprivate TypeFSIndexComparatorImpl. typeFields in org.apache.uima.cas.impl with type parameters of type Type Modifier and Type Field Description private java.util.Map<Type,Type>TypeSystemImpl. arrayComponentTypeToArrayTypeMap from array component Type to the corresponding array typeprivate java.util.Map<Type,Type>TypeSystemImpl. arrayComponentTypeToArrayTypeMap from array component Type to the corresponding array typeprivate java.util.Map<Type,FSArray>CASImpl.SharedViewData. emptyFSArrayMapMethods in org.apache.uima.cas.impl that return Type Modifier and Type Method Description TypeTypeSystemImpl. addStringSubtype(java.lang.String typeName, java.lang.String[] stringList)TypeCASImpl. getAnnotationType()TypeTypeSystemImpl. getArrayType(Type componentType)TypeTypeImpl_list. getCompoentType()TypeFeatureImpl. getDomain()Get the domain type for this feature.TypeTypeSystemImpl. getParent(Type t)TypeFeatureImpl. getRange()Get the range type for this feature.TypeFeaturePathImpl. getType(FeatureStructure fs)TypeFeatureStructureImplC. getType()Returns the UIMA TypeImpl valueTypeFsIndex_iicp. getType()TypeFsIndex_singletype. getType()TypeFsIndex_snapshot. getType()TypeFSIndexComparatorImpl. getType()TypeLowLevelIterator_empty. getType()TypeTypeNameSpaceImpl. getType(java.lang.String typeName)TypeLowLevelTypeSystem. ll_getTypeForCode(int typeCode)Get a type object for a given code.TypeTypeSystemImpl. ll_getTypeForCode(int typeCode)Methods in org.apache.uima.cas.impl that return types with arguments of type Type Modifier and Type Method Description java.util.Vector<Type>TypeSystemImpl. getDirectlySubsumedTypes(Type type)Get a vector of the types directly subsumed by a given type.java.util.List<Type>TypeSystemImpl. getDirectSubtypes(Type type)java.util.List<Type>TypeSystemImpl. getProperlySubsumedTypes(Type type)Return the list of all types subsumed by the input type.private java.util.Vector<Type>CASMgrSerializer. getStringSubtypes(TypeSystemImpl ts)java.util.Iterator<Type>TypeSystemImpl. getTypeIterator()Get an iterator over all types, in no particular order.java.util.Iterator<Type>TypeSystemImpl. iterator()Methods in org.apache.uima.cas.impl with parameters of type Type Modifier and Type Method Description voidFSTypeConstraintImpl. add(Type type)(package private) TypeImpl_arrayTypeSystemImpl. addArrayType(Type componentType, SlotKinds.SlotKind slotKind, boolean isHeapStoredArray, java.lang.Class<?> javaClass)Add an array type.FeatureTypeSystemImpl. addFeature(java.lang.String featureName, Type domainType, Type rangeType)FeatureTypeSystemImpl. addFeature(java.lang.String shortFeatName, Type domainType, Type rangeType, boolean multipleReferencesAllowed)TypeImplTypeSystemImpl. addType(java.lang.String typeName, Type superType)Add a new type to the type system.(package private) voidTypeImpl. checkExistingFeatureCompatible(FeatureImpl existingFi, Type range)private booleanFSIndexComparatorImpl. checkType(Type t)voidCASImpl. checkTypingConditions(Type domType, Type ranType, Feature feat)Check the range is appropriate for this type/feature.static 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).AnnotationCASImpl. createAnnotation(Type type, int begin, int end)<T extends FeatureStructure>
TCASImpl. createFS(Type type)Create the appropriate Feature Structure Java instance - from whatever the generator for this type specifies.CommonArrayFSCASImpl. emptyArray(Type type)<T extends FeatureStructure>
FSArray<T>CASImpl. emptyFSArray(Type type)<T extends FeatureStructure>
LowLevelIterator<T>FSIndexRepositoryImpl. getAllIndexedFS(Type type)private <T extends FeatureStructure>
voidFSIndexRepositoryImpl. getAllIndexedFS(Type type, java.util.List<LowLevelIterator<T>> iteratorList)<T extends AnnotationFS>
AnnotationIndex<T>CASImpl. getAnnotationIndex(Type type)TypeTypeSystemImpl. getArrayType(Type componentType)private static java.lang.StringFSIndexRepositoryImpl. getAutoIndexNameForType(Type type)java.util.Vector<Type>TypeSystemImpl. getDirectlySubsumedTypes(Type type)Get a vector of the types directly subsumed by a given type.java.util.List<Type>TypeSystemImpl. getDirectSubtypes(Type type)private FeatureImplTypeSystemImpl. getFeature(Type type, java.lang.String featureShortName)<T extends FeatureStructure>
FSIndex<T>FSIndexRepositoryImpl. getIndex(java.lang.String label, Type type)<T extends TOP>
java.util.Collection<T>FSIndexRepositoryImpl. getIndexedFSs(Type type)java.util.Vector<Feature>TypeSystemImpl. getIntroFeatures(Type type)TypeTypeSystemImpl. getParent(Type t)java.util.List<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, java.lang.String featName, java.util.ArrayList<java.lang.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, java.lang.String featName, java.lang.String featValIn, boolean lenient)booleanCASImpl. isAbstractArrayType(Type type)booleanTypeSystemImpl. isAnnotationBaseOrSubtype(Type type)booleanTypeSystemImpl. isAnnotationOrSubtype(Type type)booleanCASImpl. isAnnotationType(Type t)booleanCASImpl. isArrayType(Type type)booleanCASImpl. isBooleanArrayType(Type type)booleanCASImpl. isBooleanType(Type type)booleanCASImpl. isByteArrayType(Type type)booleanCASImpl. isByteType(Type type)booleanCASImpl. isDoubleArrayType(Type type)booleanCASImpl. isDoubleType(Type type)booleanCASImpl. isFloatArrayType(Type type)booleanCASImpl. isFloatType(Type type)booleanCASImpl. isFSArrayType(Type type)booleanTypeSystemImpl. isInInt(Type rangeType)booleanCASImpl. isIntArrayType(Type type)booleanCASImpl. isIntType(Type type)booleanCASImpl. isLongArrayType(Type type)booleanCASImpl. isLongType(Type type)static TypeSystemUtils.PathValidTypeSystemUtils. isPathValid(Type type, java.util.List<java.lang.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.booleanCASImpl. isPrimitiveArrayType(Type type)booleanCASImpl. isShortArrayType(Type type)booleanCASImpl. isShortType(Type type)booleanCASImpl. isStringArrayType(Type type)booleanCASImpl. isStringType(Type type)booleanLinearTypeOrderBuilderImpl.TotalTypeOrder. lessThan(Type t1, Type t2)<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(java.lang.String typeName, Type superType)(package private) voidTypeSystemImpl. newTypeChecks(java.lang.String typeName, Type superType)TypeImplTypeSystemImpl. 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 indexesdefault <N extends T>
SelectFSs<N>LowLevelIndex. select(Type type)voidTypeSystemImpl. setFeatureFinal(Type type)voidTypeSystemImpl. setInheritanceFinal(Type type)voidFSIndexComparatorImpl. setType(Type type)private static voidTypeSystemImpl. setTypeFinal(Type type)java.util.stream.Stream<FsIndex_singletype<TOP>>FSIndexRepositoryImpl. streamNonEmptyIndexes(Type type)Stream instances of all of the non-empty indexes themselvesbooleanTypeSystemImpl. subsumes(Type superType, Type subType)Does one type inherit from the other? There are two versions.<N extends T>
SelectFSs_impl<N>SelectFSs_impl. type(Type uimaType)voidFeaturePathImpl. typeInit(Type typeAtStartOfFeaturePath)Constructors in org.apache.uima.cas.impl with parameters of type Type Constructor Description FsIndex_bag(CASImpl cas, Type type, int initialSize, int indexType, FSIndexComparator comparatorForIndexSpecs)FsIndex_set_sorted(CASImpl cas, Type type, int indexType, FSIndexComparator comparatorForIndexSpecs)FsIndex_singletype(CASImpl cas, Type type, int indexType, FSIndexComparator comparatorForIndexSpecs)Constructor for FsIndex_singletype.FSIndexComparatorImpl(Type type, java.util.List<java.lang.Object> keySpecs, IntVector directions)IndexInfo(CAS cas, java.lang.String indexName, Type type) -
Uses of Type in org.apache.uima.jcas
Methods in org.apache.uima.jcas that return Type Modifier and Type Method Description TypeJCas. getCasType(int i)Given Foo.type, return the corresponding CAS Type object.TypeJCas. getCasType(java.lang.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)TypeJCas. getRequiredType(java.lang.String s)Methods in org.apache.uima.jcas with parameters of type Type Modifier and Type Method Description default <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>
java.util.Collection<T>JCas. getIndexedFSs(Type type)Returns an unmodifiable collection of all the FSs that are indexed in this view, in an arbitrary order.FeatureJCas. getRequiredFeature(Type t, java.lang.String s)default FeatureJCas. getRequiredFeatureDE(Type t, java.lang.String s, java.lang.String rangeName, boolean featOkTst)Deprecated.default <N extends TOP>
SelectFSs<N>JCas. select(Type type) -
Uses of Type in org.apache.uima.jcas.cas
Fields in org.apache.uima.jcas.cas declared as Type Modifier and Type Field Description TypeTOP_Type. casTypeDeprecated.the Cas Type associated with this Java Cas Model classMethods in org.apache.uima.jcas.cas with parameters of type Type Modifier and Type Method Description <U extends T>
SelectFSs<U>FSList. select(Type filterByType)Treat an FSArray as a source for SelectFSs.default <U extends T>
SelectFSs<U>SelectViaCopyToArray. select(Type filterByType)Treat an FSArray as a source for SelectFSs.Constructors in org.apache.uima.jcas.cas with parameters of type Type Constructor Description AnnotationBase_Type(JCas jcas, Type casType)Deprecated.TOP_Type(JCas jcas, Type casType)Deprecated.TOP_Type(JCas jcas, Type casType, boolean installGenerator)Deprecated. -
Uses of Type in org.apache.uima.jcas.impl
Methods in org.apache.uima.jcas.impl that return Type Modifier and Type Method Description TypeJCasImpl. getCasType(int i)TypeJCasImpl. getCasType(java.lang.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)TypeJCasImpl. getRequiredType(java.lang.String s)Methods in org.apache.uima.jcas.impl with parameters of type Type Modifier and Type Method Description TOPJCasImpl. createFS(Type type)<T extends TOP>
FSIterator<T>JFSIndexRepositoryImpl. getAllIndexedFS(Type aType)<T extends Annotation>
AnnotationIndex<T>JCasImpl. getAnnotationIndex(Type type)FeatureJCasImpl. getRequiredFeature(Type t, java.lang.String s) -
Uses of Type in org.apache.uima.jcas.tcas
Constructors in org.apache.uima.jcas.tcas with parameters of type Type Constructor Description Annotation_Type(JCas jcas, Type casType)Deprecated. -
Uses of Type in org.apache.uima.tools.components
Fields in org.apache.uima.tools.components declared as Type Modifier and Type Field Description private TypeXmlDetagger. sourceDocInfoType -
Uses of Type in org.apache.uima.tools.cvd
Fields in org.apache.uima.tools.cvd declared as Type Modifier and Type Field Description private TypeIndexTreeNode. typeThe type.private TypeTypeTreeNode. typeThe type.Methods in org.apache.uima.tools.cvd that return Type Modifier and Type Method Description TypeIndexTreeNode. getType()Returns the type.TypeTypeTreeNode. getType()Returns the type.Methods in org.apache.uima.tools.cvd with parameters of type Type 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.DefaultMutableTreeNodeMainFrame. createTypeTree(Type type, TypeSystem ts, java.lang.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 Type Constructor Description IndexTreeNode(java.lang.String name, Type type, int size)Instantiates a new index tree node.TypeTreeNode(Type type, java.lang.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 Type Modifier and Type Field Description private TypeMainFrame. selectedTypeThe selected type.private TypeFeatureTableModel. typeThe type.Methods in org.apache.uima.tools.cvd.tsview with parameters of type Type Modifier and Type Method Description private javax.swing.tree.DefaultMutableTreeNodeMainFrame. createTypeTree(Type type)Creates the type tree.voidFeatureTableModel. setType(Type type)Sets the type.Constructors in org.apache.uima.tools.cvd.tsview with parameters of type Type Constructor Description FeatureTableModel(Type type)Constructor for FeatureTableModel. -
Uses of Type in org.apache.uima.tools.jcasgen
Fields in org.apache.uima.tools.jcasgen declared as Type Modifier and Type Field Description private TypeJg. casStringTypeThe cas string type.private TypeJg. tcasAnnotationTypeThe tcas annotation type. -
Uses of Type in org.apache.uima.tools.viewer
Fields in org.apache.uima.tools.viewer declared as Type Modifier and Type Field Description private 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 Type Modifier and Type Field Description private java.util.Map<Type,javax.swing.JRadioButton>CasAnnotationViewer. typeRadioButtonMapThe type radio button map.private java.util.Map<Type,javax.swing.JCheckBox>CasAnnotationViewer. typeToCheckBoxMapThe type to check box map.Methods in org.apache.uima.tools.viewer that return Type Modifier and Type Method Description TypeCasAnnotationViewer.TypeTreeNodeObject. getType()Gets the type.Constructors in org.apache.uima.tools.viewer with parameters of type Type Constructor Description TypeTreeNodeObject(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 Type Modifier and Type Method Description static java.lang.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.
-