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).
JCAS model for built-in TCAS types
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 FeatureMethods in org.apache.uima.analysis_engine.impl that return types with arguments of type FeatureModifier and TypeMethodDescriptionRsType.getAllAppropriateFeatures
(TypeSystem ts) returns the Features for a type in a result spec -
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.Fields in org.apache.uima.cas.impl with type parameters of type FeatureMethods 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()
FeaturePathImpl.getFeature
(int i) 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 TypeMethodDescriptionvoid
FeaturePathImpl.addFeature
(Feature feat) int
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) private final int
FSLeafIndexImpl.getFeatureOffset
(Feature feat) private final String
TypeSystemImpl.getFeatureString
(Feature f) FeatureStructureImpl.getFeatureValue
(Feature feat) FeatureStructureImpl.getFeatureValueAsString
(Feature feat) float
FeatureStructureImpl.getFloatValue
(Feature feat) int
FeatureStructureImpl.getIntValue
(Feature feat) private static final int
FSLeafIndexImpl.getKeyCode
(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) private static final void
FeatureStructureImpl.throwIllegalRangeExc
(Feature f, Type t) private static final void
FeatureStructureImpl.throwUndefinedFeatureExc
(Feature f, Type t) Method parameters in org.apache.uima.cas.impl with type arguments of type FeatureModifier and TypeMethodDescriptionprivate static void
DebugFSLogicalStructure.fillFeatures
(DebugNameValuePair[] result, int startOffset, FeatureStructure fs, List<Feature> features) -
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.examples
Fields in org.apache.uima.examples declared as FeatureModifier and TypeFieldDescription(package private) final Feature
SourceDocumentInformation_Type.casFeat_documentSize
(package private) final Feature
SourceDocumentInformation_Type.casFeat_lastSegment
(package private) final Feature
SourceDocumentInformation_Type.casFeat_offsetInSource
(package private) final Feature
SourceDocumentInformation_Type.casFeat_uri
-
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
Fields in org.apache.uima.jcas.cas declared as FeatureModifier and TypeFieldDescription(package private) final Feature
NonEmptyFloatList_Type.casFeat_head
(package private) final Feature
NonEmptyFSList_Type.casFeat_head
(package private) final Feature
NonEmptyIntegerList_Type.casFeat_head
(package private) final Feature
NonEmptyStringList_Type.casFeat_head
(package private) final Feature
Sofa_Type.casFeat_mimeType
(package private) final Feature
AnnotationBase_Type.casFeat_sofa
(package private) final Feature
Sofa_Type.casFeat_sofaID
(package private) final Feature
Sofa_Type.casFeat_sofaNum
(package private) final Feature
NonEmptyFloatList_Type.casFeat_tail
(package private) final Feature
NonEmptyFSList_Type.casFeat_tail
(package private) final Feature
NonEmptyIntegerList_Type.casFeat_tail
(package private) final Feature
NonEmptyStringList_Type.casFeat_tail
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.jcas.tcas
Fields in org.apache.uima.jcas.tcas declared as FeatureModifier and TypeFieldDescription(package private) final Feature
Annotation_Type.casFeat_begin
(package private) final Feature
Annotation_Type.casFeat_end
(package private) final Feature
DocumentAnnotation_Type.casFeat_language
-
Uses of Feature in org.apache.uima.tools.cvd
Fields in org.apache.uima.tools.cvd declared as FeatureMethods in org.apache.uima.tools.cvd with parameters of type FeatureModifier and TypeMethodDescription(package private) int
FSTreeModel.getNodeType
(int addr, Feature feat) Constructors in org.apache.uima.tools.cvd with parameters of type FeatureModifierConstructorDescription(package private)
FSNode
(FSTreeModel fSTreeModel, int nodeClass, long addr, Feature feat) -
Uses of Feature in org.apache.uima.tools.viewer
Methods in org.apache.uima.tools.viewer with parameters of type FeatureModifier and TypeMethodDescriptionprivate String
CasAnnotationViewer.getFeatureValueInString
(FeatureStructure aFS, Feature feature) Get feature value in string, if value is not another annotation and not an array of annotations.private boolean
CasAnnotationViewer.processOneFeature
(StyledDocument doc, Annotation annotation, Feature feature, boolean firstFeature) Examine one feature of the given annotation and create the feature-related controls.private boolean
CasAnnotationViewer.processOneFeatureValue
(StyledDocument doc, Annotation annotation, Feature feature) Examine one feature of the given annotation and create the feature-value-related controls. -
Uses of Feature in org.apache.uima.util
Fields in org.apache.uima.util declared as FeatureMethods in org.apache.uima.util with parameters of type FeatureModifier and TypeMethodDescriptionstatic FeatureDescription
TypeSystemUtil.feature2FeatureDescription
(Feature aFeature) Convert aFeature
to an equivalentFeatureDescription
.
getFeatures()
instead.