public enum AnnotationState extends Enum<AnnotationState>
Enum Constant and Description |
---|
ALTERED
An annotation is altered when the document on which it has been added changed and the annotation position could
not be correctly found on the updated document.
|
SAFE
An annotation is safe when it is valid and can be rendered on the document it has been added.
|
UPDATED
An annotation is updated if its selected text has suffered a modification and it could be detected and recovered
during the maintaining process.
|
Modifier and Type | Method and Description |
---|---|
static AnnotationState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnnotationState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnnotationState SAFE
public static final AnnotationState ALTERED
public static final AnnotationState UPDATED
public static AnnotationState[] values()
for (AnnotationState c : AnnotationState.values()) System.out.println(c);
public static AnnotationState 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 © 2004–2021 XWiki. All rights reserved.