public interface AnnotationFactory
| Modifier and Type | Method and Description |
|---|---|
Annotation |
createAnnotationInSet(AnnotationSet set,
Integer id,
Node start,
Node end,
String type,
FeatureMap features)
Adds a new AnnotationImpl to the given set.
|
Annotation createAnnotationInSet(AnnotationSet set, Integer id, Node start, Node end, String type, FeatureMap features)
set - the set to which the new annotation will be addedid - the ID to use for the new annotationstart - the starting node for the new annotationend - the ending node for the new annotationtype - the type of the new annotationfeatures - the features for the new annotationCopyright © 2024 GATE. All rights reserved.