public enum WordProcessingRevisionType extends Enum<WordProcessingRevisionType> implements IEnumValue
Specifies the type of the change being tracked by a revision.
Enum Constant and Description |
---|
Deletion
Content was removed from the document.
|
FormatChange
Change of formatting was applied to the parent node.
|
Insertion
New content was inserted into the document.
|
Moving
Content was moved in the document.
|
StyleDefinitionChange
Change of formatting was applied to the parent style.
|
Modifier and Type | Method and Description |
---|---|
Object[] |
getAllValues()
Returns the array of all values defined in the class.
|
static WordProcessingRevisionType |
getByRawValue(int rawValue) |
IEnumValue |
getEnumValueByName(String name)
Returns the enumeration value by its name.
|
IEnumValue |
getEnumValueByRawValue(int rawValue)
Returns the enumeration value by the raw value associated with it.
|
static IEnumValue |
getFirst() |
int |
getRawValue()
Returns the raw value of this enumeration value.
|
RawIntegerType |
getRawValueType()
Returns the underlying type of the raw value of this enumeration value.
|
static WordProcessingRevisionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WordProcessingRevisionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final WordProcessingRevisionType Insertion
New content was inserted into the document.
public static final WordProcessingRevisionType Deletion
Content was removed from the document.
public static final WordProcessingRevisionType FormatChange
Change of formatting was applied to the parent node.
public static final WordProcessingRevisionType StyleDefinitionChange
Change of formatting was applied to the parent style.
public static final WordProcessingRevisionType Moving
Content was moved in the document.
public static WordProcessingRevisionType[] values()
for (WordProcessingRevisionType c : WordProcessingRevisionType.values()) System.out.println(c);
public static WordProcessingRevisionType 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 WordProcessingRevisionType getByRawValue(int rawValue)
public static IEnumValue getFirst()
public Object[] getAllValues()
IEnumValue
Returns the array of all values defined in the class.
getAllValues
in interface IEnumValue
public IEnumValue getEnumValueByRawValue(int rawValue)
IEnumValue
Returns the enumeration value by the raw value associated with it.
getEnumValueByRawValue
in interface IEnumValue
rawValue
- The raw value.public IEnumValue getEnumValueByName(String name)
IEnumValue
Returns the enumeration value by its name.
getEnumValueByName
in interface IEnumValue
name
- The name of the enumeration value.public RawIntegerType getRawValueType()
IEnumValue
Returns the underlying type of the raw value of this enumeration value.
getRawValueType
in interface IEnumValue
public int getRawValue()
IEnumValue
Returns the raw value of this enumeration value.
getRawValue
in interface IEnumValue