Package org.apache.uima.fit.util
Class FSUtil
java.lang.Object
org.apache.uima.fit.util.FSUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> T
getFeature
(org.apache.uima.cas.FeatureStructure aFS, String aFeature, Class<T> aClazz) static <T> T
getFeature
(org.apache.uima.cas.FeatureStructure aFS, org.apache.uima.cas.Feature aFeature, Class<T> aClazz) static boolean
hasFeature
(org.apache.uima.cas.FeatureStructure aFS, String aFeature) static boolean
isMultiValuedFeature
(org.apache.uima.cas.FeatureStructure aFS, String aFeature) static boolean
isMultiValuedFeature
(org.apache.uima.cas.FeatureStructure aFS, org.apache.uima.cas.Feature feat) static boolean
isMultiValuedFeature
(org.apache.uima.cas.TypeSystem aTypeSystem, org.apache.uima.cas.Feature feat) static void
setFeature
(org.apache.uima.cas.FeatureStructure aFS, String aFeature, boolean... aValue) static void
setFeature
(org.apache.uima.cas.FeatureStructure aFS, String aFeature, byte... aValue) static void
setFeature
(org.apache.uima.cas.FeatureStructure aFS, String aFeature, double... aValue) static void
setFeature
(org.apache.uima.cas.FeatureStructure aFS, String aFeature, float... aValue) static void
setFeature
(org.apache.uima.cas.FeatureStructure aFS, String aFeature, int... aValue) static void
setFeature
(org.apache.uima.cas.FeatureStructure aFS, String aFeature, long... aValue) static void
setFeature
(org.apache.uima.cas.FeatureStructure aFS, String aFeature, short... aValue) static void
setFeature
(org.apache.uima.cas.FeatureStructure aFS, String aFeature, String... aValue) static void
setFeature
(org.apache.uima.cas.FeatureStructure aFS, String aFeature, Collection aValue) static void
setFeature
(org.apache.uima.cas.FeatureStructure aFS, String aFeature, org.apache.uima.cas.FeatureStructure... aValue) static void
setFeature
(org.apache.uima.cas.FeatureStructure aFS, org.apache.uima.cas.Feature feat, boolean... aValue) static void
setFeature
(org.apache.uima.cas.FeatureStructure aFS, org.apache.uima.cas.Feature feat, byte... aValue) static void
setFeature
(org.apache.uima.cas.FeatureStructure aFS, org.apache.uima.cas.Feature feat, double... aValue) static void
setFeature
(org.apache.uima.cas.FeatureStructure aFS, org.apache.uima.cas.Feature feat, float... aValue) static void
setFeature
(org.apache.uima.cas.FeatureStructure aFS, org.apache.uima.cas.Feature feat, int... aValue) static void
setFeature
(org.apache.uima.cas.FeatureStructure aFS, org.apache.uima.cas.Feature feat, long... aValue) static void
setFeature
(org.apache.uima.cas.FeatureStructure aFS, org.apache.uima.cas.Feature feat, short... aValue) static void
setFeature
(org.apache.uima.cas.FeatureStructure aFS, org.apache.uima.cas.Feature feat, String... aValue) static void
setFeature
(org.apache.uima.cas.FeatureStructure aFS, org.apache.uima.cas.Feature feat, Collection aValue) static void
setFeature
(org.apache.uima.cas.FeatureStructure aFS, org.apache.uima.cas.Feature feat, org.apache.uima.cas.FeatureStructure... aValue)
-
Constructor Details
-
FSUtil
public FSUtil()
-
-
Method Details
-
hasFeature
-
isMultiValuedFeature
public static boolean isMultiValuedFeature(org.apache.uima.cas.FeatureStructure aFS, String aFeature) -
isMultiValuedFeature
public static boolean isMultiValuedFeature(org.apache.uima.cas.FeatureStructure aFS, org.apache.uima.cas.Feature feat) -
isMultiValuedFeature
public static boolean isMultiValuedFeature(org.apache.uima.cas.TypeSystem aTypeSystem, org.apache.uima.cas.Feature feat) -
setFeature
public static void setFeature(org.apache.uima.cas.FeatureStructure aFS, String aFeature, boolean... aValue) -
setFeature
public static void setFeature(org.apache.uima.cas.FeatureStructure aFS, org.apache.uima.cas.Feature feat, boolean... aValue) -
setFeature
public static void setFeature(org.apache.uima.cas.FeatureStructure aFS, String aFeature, byte... aValue) -
setFeature
public static void setFeature(org.apache.uima.cas.FeatureStructure aFS, org.apache.uima.cas.Feature feat, byte... aValue) -
setFeature
public static void setFeature(org.apache.uima.cas.FeatureStructure aFS, String aFeature, double... aValue) -
setFeature
public static void setFeature(org.apache.uima.cas.FeatureStructure aFS, org.apache.uima.cas.Feature feat, double... aValue) -
setFeature
public static void setFeature(org.apache.uima.cas.FeatureStructure aFS, String aFeature, float... aValue) -
setFeature
public static void setFeature(org.apache.uima.cas.FeatureStructure aFS, org.apache.uima.cas.Feature feat, float... aValue) -
setFeature
public static void setFeature(org.apache.uima.cas.FeatureStructure aFS, String aFeature, int... aValue) -
setFeature
public static void setFeature(org.apache.uima.cas.FeatureStructure aFS, org.apache.uima.cas.Feature feat, int... aValue) -
setFeature
public static void setFeature(org.apache.uima.cas.FeatureStructure aFS, String aFeature, long... aValue) -
setFeature
public static void setFeature(org.apache.uima.cas.FeatureStructure aFS, org.apache.uima.cas.Feature feat, long... aValue) -
setFeature
public static void setFeature(org.apache.uima.cas.FeatureStructure aFS, String aFeature, short... aValue) -
setFeature
public static void setFeature(org.apache.uima.cas.FeatureStructure aFS, org.apache.uima.cas.Feature feat, short... aValue) -
setFeature
-
setFeature
public static void setFeature(org.apache.uima.cas.FeatureStructure aFS, org.apache.uima.cas.Feature feat, String... aValue) -
setFeature
public static void setFeature(org.apache.uima.cas.FeatureStructure aFS, String aFeature, org.apache.uima.cas.FeatureStructure... aValue) -
setFeature
public static void setFeature(org.apache.uima.cas.FeatureStructure aFS, org.apache.uima.cas.Feature feat, org.apache.uima.cas.FeatureStructure... aValue) -
setFeature
public static void setFeature(org.apache.uima.cas.FeatureStructure aFS, String aFeature, Collection aValue) -
setFeature
public static void setFeature(org.apache.uima.cas.FeatureStructure aFS, org.apache.uima.cas.Feature feat, Collection aValue) -
getFeature
-
getFeature
public static <T> T getFeature(org.apache.uima.cas.FeatureStructure aFS, org.apache.uima.cas.Feature aFeature, Class<T> aClazz)
-