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).
JCAS model for built-in TCAS types
Classes for the JCasGen tool
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_LIST
used 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) Obtain an array type with component typecomponentType
.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.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 TypeMethodDescriptionvoid
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>
TCreate a new FeatureStructure.<T extends FeatureStructure>
FSIterator<T>FSIndexRepository.getAllIndexedFS
(Type aType) Gets an iterator over all indexed 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) Obtain 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.Get the parent type for input type.TypeSystem.getProperlySubsumedTypes
(Type type) Return the list of all types subsumed by the input type.void
FSIndexRepository.removeAllExcludingSubtypes
(Type type) Remove all instances of just this type, excluding subtypes, from all indexes in the repository view.void
FSIndexRepository.removeAllIncludingSubtypes
(Type type) Remove all instances of type, including all subtypes from all indexes in the repository view.boolean
Does one type inherit from the other?void
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 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.boolean
Compare two types.void
TypeSystemMgr.setFeatureFinal
(Type type) Make type feature final in the sense that no new features can be added to this type.void
TypeSystemMgr.setInheritanceFinal
(Type type) Block any further inheritance from this type.void
Set 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 TypeClassDescriptionclass
Class comment for StringTypeImpl.java goes here.class
The implementation of types in the type system.Fields in org.apache.uima.cas.impl declared as TypeModifier and TypeFieldDescriptionprivate final Type
XCASDeserializer.XCASDeserializerHandler.annotBaseType
private Type[]
FeatureValuePathImpl.emptyListTypes
private Type
FeaturePathImpl.featurePathBaseType
private Type
FeaturePathValue.featureType
private Type
FSIndexComparatorImpl.type
private final Type
FSLeafIndexImpl.type
Fields in org.apache.uima.cas.impl with type parameters of type TypeModifier and TypeFieldDescriptionTypeSystemImpl.types
An ArrayList, unsynchronized, indexed by typeCode, of Type objectsMethods in org.apache.uima.cas.impl that return TypeModifier and TypeMethodDescriptionTypeSystemImpl.addStringSubtype
(String typeName, String[] stringList) TypeSystemImpl.addTopType
(String name) Add a top type to the (empty) type system.Add a new type to the type system.CASImpl.getAnnotationType()
TypeSystemImpl.getArrayType
(Type componentType) TypeImpl.getComponentType()
FeatureImpl.getDomain()
Get the domain type for this feature.FeaturePathValue.getFeatureType()
Returns the type of the feature path valueFeatureImpl.getRange()
Get the range type for this feature.TypeImpl.getSuperType()
Get the super type.TypeSystemImpl.getTopType()
Get the top type, i.e., the root of the type system.AnnotationIndexImpl.getType()
FeaturePathImpl.getType
(FeatureStructure fs) FeatureStructureImpl.getType()
FSIndexComparatorImpl.getType()
FSIndexRepositoryImpl.IndexImpl.getType()
FSLeafIndexImpl.getType()
Get a type object for a given name.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 TypeMethodDescriptionFSIndexRepositoryImpl.getAllSubsumedTypes
(Type t, TypeSystem ts) TypeSystemImpl.getDirectlySubsumedTypes
(Type type) Get a vector of the types directly subsumed by a given type.TypeSystemImpl.getDirectSubtypes
(Type type) TypeSystemImpl.getDirectSubtypesIterator
(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.Methods in org.apache.uima.cas.impl with parameters of type TypeModifier and TypeMethodDescriptionvoid
private static final void
FSIndexRepositoryImpl.addAllSubsumedTypes
(Type t, TypeSystem ts, ArrayList<Type> v) (package private) int
TypeSystemImpl.addArrayType
(Type componentType, Type mother) (package private) void
FSClassRegistry.addClassForType
(Type type, FSGenerator<?> fsFactory) adds generator for type and all its subtypes.private <T extends FeatureStructure>
voidFSIndexRepositoryImpl.addDirectSubtypes
(Type type, List<FSIteratorImplBase<T>> iteratorList) TypeSystemImpl.addFeature
(String featureName, Type domainType, Type rangeType) TypeSystemImpl.addFeature
(String featureName, Type domainType, Type rangeType, boolean multipleReferencesAllowed) Add a new type to the type system.private boolean
final void
CASImpl.checkTypingConditions
(Type domType, Type ranType, Feature feat) Check the range is appropriate for this type/feature.static final int
TypeSystemUtils.classifyType
(Type type) Classify types into FS type, array type etc.private final void
CASMetadata.computeFeatureOffsets
(Type t, int offset) CASImpl.createAnnotation
(Type type, int begin, int end) <T extends FeatureStructure>
T<T extends FeatureStructure>
FSIterator<T>FSIndexRepositoryImpl.getAllIndexedFS
(Type type) private final <T extends FeatureStructure>
voidFSIndexRepositoryImpl.getAllIndexedFS
(Type type, List<FSIteratorImplBase<T>> iteratorList) FSIndexRepositoryImpl.getAllSubsumedTypes
(Type t, TypeSystem ts) <T extends AnnotationFS>
AnnotationIndex<T>CASImpl.getAnnotationIndex
(Type type) TypeSystemImpl.getArrayType
(Type componentType) private static final String
FSIndexRepositoryImpl.getAutoIndexNameForType
(Type type) TypeSystemImpl.getDirectlySubsumedTypes
(Type type) Get a vector of the types directly subsumed by a given type.TypeSystemImpl.getDirectSubtypes
(Type type) TypeSystemImpl.getDirectSubtypesIterator
(Type type) private static final void
TypeSystemUtils.getFeatureDefiningSubtypes
(Type type, String fName, List<Type> types) <T extends FeatureStructure>
FSIndex<T>int
FSIndexRepositoryImpl.getIndexSize
(Type type) FSIndexRepositoryImpl.getIntIteratorForIndex
(String label, Type type) TypeSystemImpl.getIntroFeatures
(Type type) TypeSystemImpl.getProperlySubsumedTypes
(Type type) Return the list of all types subsumed by the input type.private final String
TypeSystemImpl.getTypeString
(Type t) private void
XCASDeserializer.XCASDeserializerHandler.handleFeature
(Type type, int addr, String featName, String featVal, boolean lenient) private int
XmiCasDeserializer.XmiCasDeserializerHandler.handleFeature
(Type type, int fsAddr, String featName, String featVal, boolean isNewFS) Deserialize one featureprivate int
XmiCasDeserializer.XmiCasDeserializerHandler.handleFeature
(Type type, int addr, String featName, List<String> featVals) boolean
CASImpl.isAbstractArrayType
(Type type) private boolean
FSIndexRepositoryImpl.isAnnotationIndex
(Type type, FSIndexComparator comp) boolean
CASImpl.isAnnotationType
(Type t) boolean
CASImpl.isArrayType
(Type type) boolean
CASImpl.isBooleanArrayType
(Type type) boolean
CASImpl.isBooleanType
(Type type) boolean
CASImpl.isByteArrayType
(Type type) boolean
CASImpl.isByteType
(Type type) boolean
CASImpl.isDoubleArrayType
(Type type) boolean
CASImpl.isDoubleType
(Type type) boolean
CASImpl.isFloatArrayType
(Type type) boolean
CASImpl.isFloatType
(Type type) boolean
CASImpl.isFSArrayType
(Type type) boolean
CASImpl.isIntArrayType
(Type type) boolean
boolean
CASImpl.isLongArrayType
(Type type) boolean
CASImpl.isLongType
(Type type) static final TypeSystemUtils.PathValid
TypeSystemUtils.isPathValid
(Type type, List<String> path) Checks if a feature path is valid for a given type.private static final TypeSystemUtils.PathValid
TypeSystemUtils.isPathValid
(Type type, Stack<String> path, TypeSystemUtils.PathValid status) boolean
CASImpl.isShortArrayType
(Type type) boolean
CASImpl.isShortType
(Type type) boolean
CASImpl.isStringArrayType
(Type type) boolean
CASImpl.isStringType
(Type type) boolean
private void
FSIndexRepositoryImpl.ll_addDirectSubtypes
(Type type, List<LowLevelIterator> iteratorList) FSIndexRepositoryImpl.ll_getAllIndexedFS
(Type type) private final void
FSIndexRepositoryImpl.ll_getAllIndexedFS
(Type type, List<LowLevelIterator> iteratorList) int
LowLevelTypeSystem.ll_getCodeForType
(Type type) Get the code of an existing type object.int
TypeSystemImpl.ll_getCodeForType
(Type type) void
FSIndexRepositoryImpl.removeAllExcludingSubtypes
(Type type) Remove all instances of a particular type (but not its subtypes) from all indexesvoid
FSIndexRepositoryImpl.removeAllIncludingSubtypes
(Type type) Remove all instances of a particular type (including its subtypes) from all indexesvoid
TypeSystemImpl.setFeatureFinal
(Type type) void
FeaturePathValue.setFeatureType
(Type featureType) void
TypeSystemImpl.setInheritanceFinal
(Type type) void
private static void
CASImpl.setTypeFinal
(Type type) boolean
Does one type inherit from the other?private static final void
FeatureStructureImpl.throwIllegalRangeExc
(Feature f, Type t) private static final void
FeatureStructureImpl.throwUndefinedFeatureExc
(Feature f, Type t) void
Method parameters in org.apache.uima.cas.impl with type arguments of type TypeModifier and TypeMethodDescriptionprivate static final void
FSIndexRepositoryImpl.addAllSubsumedTypes
(Type t, TypeSystem ts, ArrayList<Type> v) private static final void
TypeSystemUtils.getFeatureDefiningSubtypes
(Type type, String fName, List<Type> types) Constructors in org.apache.uima.cas.impl with parameters of type TypeModifierConstructorDescription(package private)
FSBagIndex
(CASImpl cas, Type type, int initialSize, int indexType) (package private)
FSIntArrayIndex
(CASImpl cas, Type type, int initialSize, int indexType, boolean isAnnotationIndex) protected
FSLeafIndexImpl
(CASImpl cas, Type type, int indexType) Constructor for FSLeafIndexImpl.FSRBTSetIndex
(CASImpl cas, Type type, int indexType) Constructor for FSRBTIndex. -
Uses of Type in org.apache.uima.examples
Constructors in org.apache.uima.examples with parameters of type TypeModifierConstructorDescriptionSourceDocumentInformation_Type
(JCas jcas, Type casType) initialize variables to correspond with Cas Type and Features -
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.getRequiredType
(String s) Methods in org.apache.uima.jcas with parameters of type TypeModifier and TypeMethodDescription<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.JCas.getRequiredFeature
(Type t, String s) JCas.getRequiredFeatureDE
(Type t, String s, String rangeName, boolean featOkTst) -
Uses of Type in org.apache.uima.jcas.cas
Fields in org.apache.uima.jcas.cas declared as TypeModifier and TypeFieldDescriptionfinal Type
TOP_Type.casType
the Cas Type associated with this Java Cas Model classConstructors in org.apache.uima.jcas.cas with parameters of type TypeModifierConstructorDescriptionAnnotationBase_Type
(JCas jcas, Type casType) BooleanArray_Type
(JCas jcas, Type casType) ByteArray_Type
(JCas jcas, Type casType) CommonArray_Type
(JCas jcas, Type casType) DoubleArray_Type
(JCas jcas, Type casType) EmptyFloatList_Type
(JCas jcas, Type casType) EmptyFSList_Type
(JCas jcas, Type casType) EmptyIntegerList_Type
(JCas jcas, Type casType) EmptyStringList_Type
(JCas jcas, Type casType) FloatArray_Type
(JCas jcas, Type casType) FloatList_Type
(JCas jcas, Type casType) FSArray_Type
(JCas jcas, Type casType) FSList_Type
(JCas jcas, Type casType) IntegerArray_Type
(JCas jcas, Type casType) IntegerList_Type
(JCas jcas, Type casType) LongArray_Type
(JCas jcas, Type casType) NonEmptyFloatList_Type
(JCas jcas, Type casType) NonEmptyFSList_Type
(JCas jcas, Type casType) NonEmptyIntegerList_Type
(JCas jcas, Type casType) NonEmptyStringList_Type
(JCas jcas, Type casType) ShortArray_Type
(JCas jcas, Type casType) initialize variables to correspond with Cas Type and FeaturesStringArray_Type
(JCas jcas, Type casType) StringList_Type
(JCas jcas, Type casType) protected
-
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 TOP> 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) Make the instance of the JCas xxx_Type class for this CAS.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) JCasImpl.getRequiredFeatureDE
(Type t, String s, String rangeName, boolean featOkTst) -
Uses of Type in org.apache.uima.jcas.tcas
Constructors in org.apache.uima.jcas.tcas with parameters of type TypeModifierConstructorDescriptionAnnotation_Type
(JCas jcas, Type casType) DocumentAnnotation_Type
(JCas jcas, Type casType) -
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 Type
IndexTreeNode.type
private final Type
TypeTreeNode.type
Methods in org.apache.uima.tools.cvd that return TypeModifier and TypeMethodDescription(package private) Type
FSNode.getType()
IndexTreeNode.getType()
Returns the type.TypeTreeNode.getType()
Returns the type.Methods in org.apache.uima.tools.cvd with parameters of type TypeModifier and TypeMethodDescriptionprivate static void
AnnotationDisplayCustomizationFrame.addChildren
(DefaultMutableTreeNode node, Type type, TypeSystem ts) private DefaultMutableTreeNode
MainFrame.createTypeTree
(Type type, TypeSystem ts, String label, FSIndexRepository ir) (package private) int
FSTreeModel.getNodeType
(Type type) Constructors in org.apache.uima.tools.cvd with parameters of type TypeModifierConstructorDescriptionIndexTreeNode
(String name, Type type, int size) TypeTreeNode
(Type type, String label, int size) -
Uses of Type in org.apache.uima.tools.cvd.tsview
Fields in org.apache.uima.tools.cvd.tsview declared as TypeModifier and TypeFieldDescriptionprivate Type
MainFrame.selectedType
private Type
FeatureTableModel.type
Methods in org.apache.uima.tools.cvd.tsview with parameters of type TypeModifier and TypeMethodDescriptionprivate DefaultMutableTreeNode
MainFrame.createTypeTree
(Type type) void
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 Type
CasAnnotationViewer.fsArrayType
private Type
CasAnnotationViewer.stringType
private Type
CasAnnotationViewer.TypeTreeNodeObject.type
Fields in org.apache.uima.tools.viewer with type parameters of type TypeModifier and TypeFieldDescriptionprivate Map<Type,
JRadioButton> CasAnnotationViewer.typeRadioButtonMap
CasAnnotationViewer.typeToCheckBoxMap
Methods in org.apache.uima.tools.viewer that return TypeConstructors in org.apache.uima.tools.viewer with parameters of type Type -
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 TypeDescription
TypeSystemUtil.type2TypeDescription
(Type aType, TypeSystem aTypeSystem) Convert aType
to an equivalentTypeDescription
.
getDirectSubtypes(Type)
instead.