org.apache.uima.cas_data
Interface FeatureValue

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
PrimitiveValue, ReferenceValue
All Known Implementing Classes:
PrimitiveValueImpl, ReferenceValueImpl, VinciPrimitiveValue

public interface FeatureValue
extends java.io.Serializable

The base interface for the value of a feature. Feature values will be implement one of three subinterfaces:

Note that arrays are represented as FeatureStructures, not primitive values. Therefore features with array values will be of type ReferenceValue, where the reference will resolve to an instance of PrimitiveArrayFS or ReferenceArrayFS.


Method Summary
 java.lang.Object get()
          Gets the feature value as a Java object.
 

Method Detail

get

java.lang.Object get()
Gets the feature value as a Java object.

Returns:
the feature value.


Copyright © 2013. All Rights Reserved.