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 TypeMethodDescriptionvoidFeaturePath.addFeature(Feature feat) Add a new feature at the end of the path.booleanFeatureStructure.getBooleanValue(Feature feat) Get the boolean value of a feature.byteFeatureStructure.getByteValue(Feature feat) Get the byte value of a feature.doubleFeatureStructure.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.floatFeatureStructure.getFloatValue(Feature feat) Get the float value of a feature.intFeatureStructure.getIntValue(Feature feat) Get the int value of a feature.longFeatureStructure.getLongValue(Feature feat) Get the long value of a feature.shortFeatureStructure.getShortValue(Feature feat) Get the short value of a feature.FeatureStructure.getStringValue(Feature f) Get the string value under a feature.voidFeatureStructure.setBooleanValue(Feature feat, boolean i) Set the boolean value of a feature.voidFeatureStructure.setByteValue(Feature feat, byte i) Set the byte (8 bit) value of a feature.voidFeatureStructure.setDoubleValue(Feature feat, double i) Set the double value of a feature.voidFeatureStructure.setFeatureValue(Feature feat, FeatureStructure fs) Set a feature value to another FS.voidFeatureStructure.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.voidFeatureStructure.setFloatValue(Feature feat, float f) Set the float value of a feature.voidFeatureStructure.setIntValue(Feature feat, int i) Set the int value of a feature.voidFeatureStructure.setLongValue(Feature feat, long i) Set the long (64 bit) value of a feature.voidFeatureStructure.setShortValue(Feature feat, short i) Set the short (16 bit) value of a feature.voidFeatureStructure.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 TypeClassDescriptionclassThe implementation of features in the type system.classThe implementation of jcas-only 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 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) 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) TypeImpl.iterator()Methods in org.apache.uima.cas.impl with parameters of type FeatureModifier and TypeMethodDescriptionintfinal voidCASImpl.checkTypingConditions(Type domType, Type ranType, Feature feat) Check the range is appropriate for this type/feature.intThis should work across different type systems, for instance when using filtered serializationbooleanFeatureStructureImplC.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.byteFeatureStructureImplC.getByteValue(Feature feat) doubleFeatureStructureImplC.getDoubleValue(Feature feat) FeatureStructureImplC.getFeatureValue(Feature feat) FeatureStructureImplC.getFeatureValueAsString(Feature feat) floatFeatureStructureImplC.getFloatValue(Feature feat) intFeatureStructureImplC.getIntValue(Feature feat) longFeatureStructureImplC.getLongValue(Feature feat) shortFeatureStructureImplC.getShortValue(Feature feat) FeatureStructureImplC.getStringValue(Feature feat) booleanTypeImpl.isAppropriateFeature(Feature feature) intLowLevelTypeSystem.ll_getCodeForFeature(Feature feature) Get the code for a given feature object.intTypeSystemImpl.ll_getCodeForFeature(Feature feature) TypeSystemImpl.refreshFeature(Feature f) voidFeatureStructureImplC.setBooleanValue(Feature feat, boolean v) voidFeatureStructureImplC.setByteValue(Feature feat, byte v) voidFeatureStructureImplC.setDoubleValue(Feature feat, double v) voidFeatureStructureImplC.setFeatureValue(Feature feat, FeatureStructure v) voidFeatureStructureImplC.setFeatureValueFromString(Feature feat, String s) voidFeatureStructureImplC.setFloatValue(Feature feat, float v) voidFeatureStructureImplC.setIntValue(Feature feat, int v) voidFeatureStructureImplC.setLongValue(Feature feat, long v) voidFeatureStructureImplC.setShortValue(Feature feat, short v) voidFeatureStructureImplC.setStringValue(Feature feat, String v) CasCompare.sort_dedup_FSArray(TOP fs, Feature feat) This is an optional pre-compare operation.Method parameters in org.apache.uima.cas.impl with type arguments of type FeatureModifier and TypeMethodDescriptionvoidCasCompare.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
Methods in org.apache.uima.jcas that return FeatureModifier and TypeMethodDescriptionJCas.getRequiredFeature(Type t, String s) default FeatureJCas.getRequiredFeatureDE(Type t, String s, String rangeName, boolean featOkTst) Deprecated. -
Uses of Feature in org.apache.uima.jcas.cas
Methods in org.apache.uima.jcas.cas with parameters of type FeatureModifier and TypeMethodDescriptionvoidAnnotationBase.setFeatureValue(Feature feat, FeatureStructure v) voidSofa.setFeatureValue(Feature feat, FeatureStructure fs) voidSofa.setIntValue(Feature feat, Integer val) voidSofa.setStringValue(Feature feat, String val) -
Uses of Feature in org.apache.uima.jcas.impl
Methods in org.apache.uima.jcas.impl that return Feature -
Uses of Feature in org.apache.uima.util
Methods in org.apache.uima.util with parameters of type FeatureModifier and TypeMethodDescriptionstatic FeatureDescriptionTypeSystemUtil.feature2FeatureDescription(Feature aFeature) Convert aFeatureto an equivalentFeatureDescription.
getFeatures()instead.