Package | Description |
---|---|
org.apache.uima.cas |
Common Analysis System (CAS) Interfaces.
|
org.apache.uima.cas.admin | |
org.apache.uima.examples | |
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 |
JCAS model for built-in TCAS types
|
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)
Obtain an array type with component type
componentType . |
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.
|
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 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)
Obtain 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.
|
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.
|
boolean |
TypeSystem.subsumes(Type superType,
Type subType)
Does one type inherit from the other?
|
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.
|
Constructor and Description |
---|
SourceDocumentInformation_Type(JCas jcas,
Type casType)
initialize variables to correspond with Cas Type and Features
|
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
<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.
|
Feature |
JCas.getRequiredFeature(Type t,
String s) |
Feature |
JCas.getRequiredFeatureDE(Type t,
String s,
String rangeName,
boolean featOkTst) |
Modifier and Type | Field and Description |
---|---|
Type |
TOP_Type.casType
the Cas Type associated with this Java Cas Model class
|
Constructor and Description |
---|
Annotation_Type(JCas jcas,
Type casType) |
DocumentAnnotation_Type(JCas jcas,
Type casType) |
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.