Uses of Interface
org.apache.uima.cas.Feature
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).
Utility classes and interfaces used by UIMA components.
-
Uses of Feature in org.apache.uima.analysis_engine.impl
-
Uses of Feature in org.apache.uima.cas
Modifier and TypeMethodDescriptionCAS.getBeginFeature()
Get the feature object for the annotation begin feature.CAS.getEndFeature()
Get the feature object for the annotation end feature.FeaturePath.getFeature
(int i) Get feature at position.Type.getFeatureByBaseName
(String featureName) Retrieve a feature for this type.TypeSystem.getFeatureByFullName
(String featureName) Get a feature object for a given name.Modifier and TypeMethodDescriptionType.getAppropriateFeatures()
Deprecated.Type.getFeatures()
Get a vector of the features for which this type is a subtype of the features' domain (i.e., inherited features are also returned).TypeSystem.getFeatures()
Get a list of features, in no particular order.Modifier and TypeMethodDescriptionvoid
FeaturePath.addFeature
(Feature feat) Add a new feature at the end of the path.boolean
FeatureStructure.getBooleanValue
(Feature feat) Get the boolean value of a feature.byte
FeatureStructure.getByteValue
(Feature feat) Get the byte value of a feature.double
FeatureStructure.getDoubleValue
(Feature feat) Get the double value of a feature.FeatureStructure.getFeatureValue
(Feature feat) Get a feature value.FeatureStructure.getFeatureValueAsString
(Feature feat) Get the value of the feature as a string if the type of the feature is one of the primitive type.float
FeatureStructure.getFloatValue
(Feature feat) Get the float value of a feature.int
FeatureStructure.getIntValue
(Feature feat) Get the int value of a feature.long
FeatureStructure.getLongValue
(Feature feat) Get the long value of a feature.short
FeatureStructure.getShortValue
(Feature feat) Get the short value of a feature.FeatureStructure.getStringValue
(Feature f) Get the string value under a feature.void
FeatureStructure.setBooleanValue
(Feature feat, boolean i) Set the boolean value of a feature.void
FeatureStructure.setByteValue
(Feature feat, byte i) Set the byte (8 bit) value of a feature.void
FeatureStructure.setDoubleValue
(Feature feat, double i) Set the double value of a feature.void
FeatureStructure.setFeatureValue
(Feature feat, FeatureStructure fs) Set a feature value to another FS.void
FeatureStructure.setFeatureValueFromString
(Feature feat, String s) Sets the value of a feature from a string input if the feature type is one of the primitive types.void
FeatureStructure.setFloatValue
(Feature feat, float f) Set the float value of a feature.void
FeatureStructure.setIntValue
(Feature feat, int i) Set the int value of a feature.void
FeatureStructure.setLongValue
(Feature feat, long i) Set the long (64 bit) value of a feature.void
FeatureStructure.setShortValue
(Feature feat, short i) Set the short (16 bit) value of a feature.void
FeatureStructure.setStringValue
(Feature feat, String s) Set the string value of a feature. -
Uses of Feature in org.apache.uima.cas.admin
Modifier 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.FSIndexComparator.getKeyFeature
(int key) Get the feature for this key. -
Uses of Feature in org.apache.uima.cas.impl
Modifier and TypeClassDescriptionclass
The implementation of features in the type system.class
The implementation of jcas-only features in the type system.Modifier and TypeMethodDescriptionTypeSystemImpl.addFeature
(String featureName, Type domainType, Type rangeType) TypeSystemImpl.addFeature
(String shortFeatName, Type domainType, Type rangeType, boolean multipleReferencesAllowed) CASImpl.getBeginFeature()
CASImpl.getEndFeature()
TypeImpl.getFeature
(String featureName) Deprecated.use getFeatureByBaseName insteadTypeSystemImpl.getFeature
(String featureName) Deprecated.LowLevelTypeSystem.ll_getFeatureForCode
(int featureCode) Get a feature object for a given code.TypeSystemImpl.ll_getFeatureForCode
(int featureCode) Modifier and TypeMethodDescriptionTypeImpl.getAppropriateFeatures()
Deprecated.TypeImpl.getFeatures()
guaranteed to be non-null, but might be empty listTypeSystemImpl.getFeatures()
TypeSystemImpl.getIntroFeatures
(Type type) TypeImpl.iterator()
Modifier and TypeMethodDescriptionint
final void
CASImpl.checkTypingConditions
(Type domType, Type ranType, Feature feat) Check the range is appropriate for this type/feature.int
This should work across different type systems, for instance when using filtered serializationboolean
FeatureStructureImplC.getBooleanValue
(Feature feat) G E T T E R S (The array getters are part of the Classes for the built-in arrays, here are only the non-array ones) getXyzValue(Feature feat) - this is the standard from V2 plain API - it does validity checking (normally) that the feature belongs to the type getXyzValueNc(FeatureImpl feat) - skips the validity checking that the feature belongs to the type.byte
FeatureStructureImplC.getByteValue
(Feature feat) double
FeatureStructureImplC.getDoubleValue
(Feature feat) FeatureStructureImplC.getFeatureValue
(Feature feat) FeatureStructureImplC.getFeatureValueAsString
(Feature feat) float
FeatureStructureImplC.getFloatValue
(Feature feat) int
FeatureStructureImplC.getIntValue
(Feature feat) long
FeatureStructureImplC.getLongValue
(Feature feat) short
FeatureStructureImplC.getShortValue
(Feature feat) FeatureStructureImplC.getStringValue
(Feature feat) boolean
TypeImpl.isAppropriateFeature
(Feature feature) int
LowLevelTypeSystem.ll_getCodeForFeature
(Feature feature) Get the code for a given feature object.int
TypeSystemImpl.ll_getCodeForFeature
(Feature feature) TypeSystemImpl.refreshFeature
(Feature f) void
FeatureStructureImplC.setBooleanValue
(Feature feat, boolean v) void
FeatureStructureImplC.setByteValue
(Feature feat, byte v) void
FeatureStructureImplC.setDoubleValue
(Feature feat, double v) void
FeatureStructureImplC.setFeatureValue
(Feature feat, FeatureStructure v) void
FeatureStructureImplC.setFeatureValueFromString
(Feature feat, String s) void
FeatureStructureImplC.setFloatValue
(Feature feat, float v) void
FeatureStructureImplC.setIntValue
(Feature feat, int v) void
FeatureStructureImplC.setLongValue
(Feature feat, long v) void
FeatureStructureImplC.setShortValue
(Feature feat, short v) void
FeatureStructureImplC.setStringValue
(Feature feat, String v) CasCompare.sort_dedup_FSArray
(TOP fs, Feature feat) This is an optional pre-compare operation.Modifier and TypeMethodDescriptionvoid
CasCompare.applyToTypeFeature
(String typeName, String featureBaseName, org.apache.uima.internal.util.function.Consumer2<TOP, Feature> c) Before comparing, you can adjust specific features of specific types, arbitrarily.CasCompare.type_feature_to_runnable
(String typeName, String featureBaseName, BiFunction<TOP, Feature, Runnable> c) Before comparing, you can create pending values for specific types / features, and return a list of runnables, which when run, plug in those pending values. -
Uses of Feature in org.apache.uima.jcas
Modifier and TypeMethodDescriptionJCas.getRequiredFeature
(Type t, String s) default Feature
JCas.getRequiredFeatureDE
(Type t, String s, String rangeName, boolean featOkTst) Deprecated. -
Uses of Feature in org.apache.uima.jcas.cas
Modifier and TypeMethodDescriptionvoid
AnnotationBase.setFeatureValue
(Feature feat, FeatureStructure v) void
Sofa.setFeatureValue
(Feature feat, FeatureStructure fs) void
Sofa.setIntValue
(Feature feat, Integer val) void
Sofa.setStringValue
(Feature feat, String val) -
Uses of Feature in org.apache.uima.jcas.impl
-
Uses of Feature in org.apache.uima.util
Modifier and TypeMethodDescriptionstatic FeatureDescription
TypeSystemUtil.feature2FeatureDescription
(Feature aFeature) Convert aFeature
to an equivalentFeatureDescription
.
getFeatures()
instead.