|
GATE Version 3.1-2270 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FeatureMap
An attribute-value matrix. Represents the content of an annotation, the meta-data on a resource, and anything else we feel like. The event code is needed so a persistent annotation can fire updated events when its features are updated
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry |
| Method Summary | |
|---|---|
void |
addFeatureMapListener(FeatureMapListener l)
Adds a gate listener |
void |
removeFeatureMapListener(FeatureMapListener l)
Removes a gate listener |
boolean |
subsumes(FeatureMap aFeatureMap)
Tests if this featureMap object includes aFeatureMap features. |
boolean |
subsumes(FeatureMap aFeatureMap,
Set aFeatureNamesSet)
Tests if this featureMap object includes aFeatureMap but only for the features present in the aFeatureNamesSet. |
boolean |
subsumes(Taxonomy ontologyLR,
FeatureMap aFeatureMap)
Tests if this featureMap object includes aFeatureMap features. |
| Methods inherited from interface java.util.Map |
|---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
| Method Detail |
|---|
boolean subsumes(FeatureMap aFeatureMap)
aFeatureMap - object which will be included or not in this
FeatureMap obj.
true if this includes aFeatureMap
and false if not.
boolean subsumes(Taxonomy ontologyLR,
FeatureMap aFeatureMap)
class and (optionally) ontology features:
ontologyLR - an ontology to be used for the subsumeaFeatureMap - object which will be included or not in this
FeatureMap obj.
true if this includes aFeatureMap
and false if not.
boolean subsumes(FeatureMap aFeatureMap,
Set aFeatureNamesSet)
aFeatureMap - which will be included or not in this
FeatureMap obj.aFeatureNamesSet - is a set of strings representing the names of the
features that would be considered for subsumes.
true if all features present in the aFeaturesNameSet
from aFeatureMap are included in this obj, or false
otherwise.void removeFeatureMapListener(FeatureMapListener l)
void addFeatureMapListener(FeatureMapListener l)
|
GATE Version 3.1-2270 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||