public static enum GateDocumentUpdater.HandleExistingAnns extends Enum<GateDocumentUpdater.HandleExistingAnns>
Enum Constant and Description |
---|
ADD_NEW_FEATURES
Only add new features.
|
ADD_WITH_NEW_ID
Add as a new annotation with a new id.
|
IGNORE
Ignore that annotation.
|
REPLACE_ANNOTATION
Completely replace the annotation with the new one.
|
REPLACE_FEATURES
Completely replace the features of the existing annotation.
|
UPDATE_FEATURES
Add new and update existing features, do not delete any.
|
Modifier and Type | Method and Description |
---|---|
static GateDocumentUpdater.HandleExistingAnns |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GateDocumentUpdater.HandleExistingAnns[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GateDocumentUpdater.HandleExistingAnns REPLACE_ANNOTATION
public static final GateDocumentUpdater.HandleExistingAnns REPLACE_FEATURES
public static final GateDocumentUpdater.HandleExistingAnns UPDATE_FEATURES
public static final GateDocumentUpdater.HandleExistingAnns ADD_NEW_FEATURES
public static final GateDocumentUpdater.HandleExistingAnns IGNORE
public static final GateDocumentUpdater.HandleExistingAnns ADD_WITH_NEW_ID
public static GateDocumentUpdater.HandleExistingAnns[] values()
for (GateDocumentUpdater.HandleExistingAnns c : GateDocumentUpdater.HandleExistingAnns.values()) System.out.println(c);
public static GateDocumentUpdater.HandleExistingAnns valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2021 GATE. All rights reserved.