gate.util
Class AbstractFeatureBearer
java.lang.Object
|
+--gate.util.AbstractFeatureBearer
- All Implemented Interfaces:
- FeatureBearer
- Direct Known Subclasses:
- AbstractResource, AnnotationImpl, ResourceData, SerialDataStore
- public abstract class AbstractFeatureBearer
- extends Object
- implements FeatureBearer
A convenience implemetation of FeatureBearer.
- See Also:
FeatureBearer
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