gate.util
Class AbstractFeatureBearer
java.lang.Object
|
+--gate.util.AbstractFeatureBearer
- All Implemented Interfaces:
- FeatureBearer
- Direct Known Subclasses:
- AbstractResource, AnnotationImpl, CustomAnnotationEditDialog.MyCustomFeatureBearer, ResourceData, SerialDataStore
- public abstract class AbstractFeatureBearer
- extends Object
- implements FeatureBearer
A convenience implemetation of FeatureBearer.
- See Also:
FeatureBearer
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
features
protected FeatureMap features
- The feature set
AbstractFeatureBearer
public AbstractFeatureBearer()
getFeatures
public FeatureMap getFeatures()
- Get the feature set
- Specified by:
getFeatures
in interface FeatureBearer
setFeatures
public void setFeatures(FeatureMap features)
- Set the feature set
- Specified by:
setFeatures
in interface FeatureBearer
setName
public void setName(String name)
- Sets the name of this resource
- Specified by:
setName
in interface FeatureBearer
getName
public String getName()
- Returns the name of this resource
- Specified by:
getName
in interface FeatureBearer