|
GATE Version 3.1-2270 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgate.annotation.DefaultAnnotationFactory
public class DefaultAnnotationFactory
The default Annotation factory that creates instances of AnnotationImpl. If you wish to create an alternative
Annotation class, you must create your own Annotation factory
that creates annotations of this type, and register it.
| Constructor Summary | |
|---|---|
DefaultAnnotationFactory()
Creates a new DefaultAnnotationFactory. |
|
| Method Summary | |
|---|---|
Annotation |
createAnnotationInSet(AnnotationSet set,
Integer id,
Node start,
Node end,
String type,
FeatureMap features)
Adds a new AnnotationImpl to the given set. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultAnnotationFactory()
| Method Detail |
|---|
public Annotation createAnnotationInSet(AnnotationSet set,
Integer id,
Node start,
Node end,
String type,
FeatureMap features)
AnnotationFactory
createAnnotationInSet in interface AnnotationFactoryset - 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 annotation
|
GATE Version 3.1-2270 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||