Uses of Interface
org.apache.uima.cas.Feature
Packages that use 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
Fields in org.apache.uima.analysis_engine.impl with type parameters of type Feature -
Uses of Feature in org.apache.uima.cas
Methods in org.apache.uima.cas that return FeatureModifier 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.Methods in org.apache.uima.cas that return types with arguments of type FeatureModifier 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.Methods in org.apache.uima.cas with parameters of type FeatureModifier 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
Methods in org.apache.uima.cas.admin that return FeatureModifier 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.Methods in org.apache.uima.cas.admin with parameters of type Feature -
Uses of Feature in org.apache.uima.cas.impl
Classes in org.apache.uima.cas.impl that implement FeatureModifier and TypeClassDescriptionclass
The implementation of features in the type system.Methods in org.apache.uima.cas.impl that return FeatureModifier and TypeMethodDescriptionTypeSystemImpl.addFeature
(String featureName, Type domainType, Type rangeType) TypeSystemImpl.addFeature
(String featureName, Type domainType, Type rangeType, boolean multipleReferencesAllowed) CASImpl.getBeginFeature()
CASImpl.getEndFeature()
TypeImpl.getFeature
(String featureName) Deprecated.TypeSystemImpl.getFeature
(String featureName) Deprecated.TypeImpl.getFeatureByBaseName
(String featureName) TypeSystemImpl.getFeatureByFullName
(String featureName) Get an feature object for a given name.FSIndexComparatorImpl.getKeyFeature
(int key) LowLevelTypeSystem.ll_getFeatureForCode
(int featureCode) Get a feature object for a given code.TypeSystemImpl.ll_getFeatureForCode
(int featureCode) Methods in org.apache.uima.cas.impl that return types with arguments of type FeatureModifier and TypeMethodDescriptionTypeImpl.getAppropriateFeatures()
Deprecated.TypeImpl.getFeatures()
guaranteed to be non-null, but might be empty listTypeSystemImpl.getFeatures()
TypeSystemImpl.getIntroFeatures
(Type type) Methods in org.apache.uima.cas.impl with parameters of type FeatureModifier and TypeMethodDescriptionint
final void
CASImpl.checkTypingConditions
(Type domType, Type ranType, Feature feat) Check the range is appropriate for this type/feature.int
Note: you can only compare features from the same type system.boolean
FeatureStructureImpl.getBooleanValue
(Feature feat) byte
FeatureStructureImpl.getByteValue
(Feature feat) double
FeatureStructureImpl.getDoubleValue
(Feature feat) FeatureStructureImpl.getFeatureValue
(Feature feat) FeatureStructureImpl.getFeatureValueAsString
(Feature feat) float
FeatureStructureImpl.getFloatValue
(Feature feat) int
FeatureStructureImpl.getIntValue
(Feature feat) long
FeatureStructureImpl.getLongValue
(Feature feat) short
FeatureStructureImpl.getShortValue
(Feature feat) FeatureStructureImpl.getStringValue
(Feature f) int
LowLevelTypeSystem.ll_getCodeForFeature
(Feature feature) Get the code for a given feature object.int
TypeSystemImpl.ll_getCodeForFeature
(Feature feature) void
FeatureStructureImpl.setBooleanValue
(Feature feat, boolean b) void
FeatureStructureImpl.setByteValue
(Feature feat, byte val) void
FeatureStructureImpl.setDoubleValue
(Feature feat, double val) void
FeatureStructureImpl.setFeatureValue
(Feature feat, FeatureStructure fs) void
SofaFSImpl.setFeatureValue
(Feature feat, FeatureStructure fs) void
FeatureStructureImpl.setFeatureValueFromString
(Feature feat, String s) void
FeatureStructureImpl.setFloatValue
(Feature feat, float val) void
FeatureStructureImpl.setIntValue
(Feature feat, int val) void
SofaFSImpl.setIntValue
(Feature feat, Integer val) void
FeatureStructureImpl.setLongValue
(Feature feat, long val) void
FeatureStructureImpl.setShortValue
(Feature feat, short val) void
FeatureStructureImpl.setStringValue
(Feature feat, String val) void
SofaFSImpl.setStringValue
(Feature feat, String val) -
Uses of Feature in org.apache.uima.collection.impl.cpm.utils
Methods in org.apache.uima.collection.impl.cpm.utils with parameters of type FeatureModifier and TypeMethodDescriptionstatic int
CPMUtils.getFeatureAsInt
(CAS aCas, Feature aFeature, String aName) static String
CPMUtils.getFeatureAsString
(CAS aCas, Feature aFeature, String aName) Returns a value associated with a given feature -
Uses of Feature in org.apache.uima.jcas
Methods in org.apache.uima.jcas that return FeatureModifier and TypeMethodDescriptionJCas.getRequiredFeature
(Type t, String s) JCas.getRequiredFeatureDE
(Type t, String s, String rangeName, boolean featOkTst) -
Uses of Feature in org.apache.uima.jcas.cas
Methods in org.apache.uima.jcas.cas with parameters of type FeatureModifier and TypeMethodDescriptionvoid
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
Methods in org.apache.uima.jcas.impl that return FeatureModifier and TypeMethodDescriptionJCasImpl.getRequiredFeature
(Type t, String s) JCasImpl.getRequiredFeatureDE
(Type t, String s, String rangeName, boolean featOkTst) -
Uses of Feature in org.apache.uima.util
Methods in org.apache.uima.util with parameters of type FeatureModifier and TypeMethodDescriptionstatic FeatureDescription
TypeSystemUtil.feature2FeatureDescription
(Feature aFeature) Convert aFeature
to an equivalentFeatureDescription
.
getFeatures()
instead.