Package | Description |
---|---|
org.apache.uima.cas |
Common Analysis System(CAS) Interfaces
|
org.apache.uima.cas.admin | |
org.apache.uima.jcas |
Interfaces for accessing the JCAS.
|
org.apache.uima.jcas.cas |
JCAS model for built-in CAS types
|
org.apache.uima.jcas.tcas | |
org.apache.uima.util |
Utility classes and interfaces used by UIMA components.
|
Modifier and Type | Method and Description |
---|---|
Type |
CAS.getAnnotationType()
Get the type object for the annotation type.
|
Type |
TypeSystem.getArrayType(Type componentType)
Get or Create an array type with component type
componentType . |
default <T extends TOP> |
CAS.getCasType(Class<T> clazz) |
Type |
Type.getComponentType()
For array types, returns the component type of the array type.
|
Type |
Feature.getDomain()
Get the domain type for this feature.
|
Type |
TypeSystem.getParent(Type type)
Get the parent type for input type.
|
Type |
Feature.getRange()
Get the range type for this feature.
|
Type |
TypeSystem.getTopType()
Get the top type, i.e., the root of the type system.
|
Type |
FeatureStructure.getType()
Get the type of this FS.
|
Type |
FSIndex.getType()
Return the type of feature structures this index contains.
|
default Type |
FSIterator.getType() |
Type |
FeaturePath.getType(FeatureStructure fs)
Returns the type of the feature path.
|
Type |
TypeNameSpace.getType(String typeName) |
Type |
TypeSystem.getType(String typeName)
Get a type object for a given type name.
|
Modifier and Type | Method and Description |
---|---|
Vector<Type> |
TypeSystem.getDirectlySubsumedTypes(Type type)
Deprecated.
Use
getDirectSubtypes(Type) instead. |
List<Type> |
TypeSystem.getDirectSubtypes(Type type)
Get a List of the types directly subsumed by a given type.
|
List<Type> |
TypeSystem.getProperlySubsumedTypes(Type type)
Return the list of all types subsumed by the input type.
|
Iterator<Type> |
TypeSystem.getTypeIterator()
Get an iterator over all types, in no particular order.
|
Modifier and Type | Method and Description |
---|---|
void |
FSTypeConstraint.add(Type type)
Add a new type to this type constraint.
|
<T extends AnnotationFS> |
CAS.createAnnotation(Type type,
int begin,
int end)
Create a new annotation.
|
<T extends FeatureStructure> |
CAS.createFS(Type type)
Create a new FeatureStructure.
|
<T extends FeatureStructure> |
FSIndexRepository.getAllIndexedFS(Type aType)
Gets an iterator over all indexed (in this View) FeatureStructures of the specified Type (and any of its
subtypes).
|
default <T extends TOP> |
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 AnnotationFS> |
CAS.getAnnotationIndex(Type type)
Get the standard annotation index restricted to a specific annotation type.
|
Type |
TypeSystem.getArrayType(Type componentType)
Get or Create an array type with component type
componentType . |
Vector<Type> |
TypeSystem.getDirectlySubsumedTypes(Type type)
Deprecated.
Use
getDirectSubtypes(Type) instead. |
List<Type> |
TypeSystem.getDirectSubtypes(Type type)
Get a List of the types directly subsumed by a given type.
|
<T extends FeatureStructure> |
FSIndexRepository.getIndex(String label,
Type type)
Retrieve an index according to a label and a type.
|
default <T extends TOP> |
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> |
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.
|
Type |
TypeSystem.getParent(Type type)
Get the parent type for input type.
|
List<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.
|
<N extends T> |
FSIndex.select(Type type) |
default <T extends TOP> |
CAS.select(Type type) |
default boolean |
Type.subsumes(Type subtype) |
boolean |
TypeSystem.subsumes(Type superType,
Type subType)
Does one type inherit from the other?
|
default <U extends T> |
FSIndex.subType(Type type) |
void |
FeaturePath.typeInit(Type featurePathType)
Check the feature path for the given type and initialize internal
structures for faster access to the feature path value.
|
Modifier and Type | Method and Description |
---|---|
Type |
TypeSystemMgr.addStringSubtype(String typeName,
String[] stringList)
Inherit from String.
|
Type |
TypeSystemMgr.addType(String typeName,
Type mother)
Add a new type to the type system.
|
Type |
FSIndexComparator.getType()
Get the type of this comparator.
|
Modifier and Type | Method and Description |
---|---|
Feature |
TypeSystemMgr.addFeature(String featureName,
Type domainType,
Type rangeType)
Add an feature to the type system.
|
Feature |
TypeSystemMgr.addFeature(String featureName,
Type domainType,
Type rangeType,
boolean multipleReferencesAllowed)
Add an feature to the type system.
|
Type |
TypeSystemMgr.addType(String typeName,
Type mother)
Add a new type to the type system.
|
boolean |
LinearTypeOrder.lessThan(Type t1,
Type t2)
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 |
FSIndexComparator.setType(Type type)
Set the type of this comparator.
|
Modifier and Type | Method and Description |
---|---|
Type |
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)
|
Type |
JCas.getCasType(int i)
Given Foo.type, return the corresponding CAS Type object.
|
Type |
JCas.getRequiredType(String s) |
Modifier and Type | Method and Description |
---|---|
default <T extends TOP> |
JCas.getAllIndexedFS(Type type)
Gets an iterator over all indexed FeatureStructures of the specified Type (and any of its
subtypes).
|
<T extends TOP> |
JFSIndexRepository.getAllIndexedFS(Type aType)
Gets an iterator over all indexed FeatureStructures of the specified Type (and any of its
subtypes).
|
<T extends Annotation> |
JCas.getAnnotationIndex(Type type)
Get the standard annotation index restricted to a specific annotation type.
|
default <T extends TOP> |
JCas.getIndexedFSs(Type type)
Returns an unmodifiable collection of all the FSs that are indexed in this view, in an arbitrary order.
|
Feature |
JCas.getRequiredFeature(Type t,
String s) |
default Feature |
JCas.getRequiredFeatureDE(Type t,
String s,
String rangeName,
boolean featOkTst)
Deprecated.
|
default <N extends TOP> |
JCas.select(Type type) |
Modifier and Type | Field and Description |
---|---|
Type |
TOP_Type.casType
Deprecated.
the Cas Type associated with this Java Cas Model class
|
Modifier and Type | Method and Description |
---|---|
<U extends T> |
FSList.select(Type filterByType)
Treat an FSArray as a source for SelectFSs.
|
default <U extends T> |
SelectViaCopyToArray.select(Type filterByType)
Treat an FSArray as a source for SelectFSs.
|
Constructor and Description |
---|
AnnotationBase_Type(JCas jcas,
Type casType)
Deprecated.
|
TOP_Type(JCas jcas,
Type casType)
Deprecated.
|
TOP_Type(JCas jcas,
Type casType,
boolean installGenerator)
Deprecated.
|
Constructor and Description |
---|
Annotation_Type(JCas jcas,
Type casType)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static String[] |
TypeSystemUtil.getAllowedValuesForType(Type aType,
TypeSystem aTypeSystem)
Gets the allowed values for a string subtype.
|
static TypeDescription |
TypeSystemUtil.type2TypeDescription(Type aType,
TypeSystem aTypeSystem)
Convert a
Type to an equivalent TypeDescription . |
Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.