public enum RevisionType extends Enum<RevisionType>
Enum Constant and Description |
---|
DELETION
Content was removed from the document.
|
FORMAT_CHANGE
Change of formatting was applied to the parent node.
|
INSERTION
New content was inserted in the document.
|
MOVING
Content was moved in the document.
|
STYLE_DEFINITION_CHANGE
Change of formatting was applied to the parent style.
|
Modifier and Type | Method and Description |
---|---|
static RevisionType |
fromInt(int toIntValue) |
static RevisionType |
fromString(String toStringValue) |
int |
toInt() |
String |
toString() |
static RevisionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RevisionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RevisionType DELETION
public static final RevisionType FORMAT_CHANGE
public static final RevisionType INSERTION
public static final RevisionType MOVING
public static final RevisionType STYLE_DEFINITION_CHANGE
public static RevisionType fromInt(int toIntValue)
public static RevisionType fromString(String toStringValue)
public int toInt()
public String toString()
toString
in class Enum<RevisionType>
public static RevisionType 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 nullpublic static RevisionType[] values()
for (RevisionType c : RevisionType.values()) System.out.println(c);
Copyright © 2023. All rights reserved.