Package eu.europa.esig.dss.enumerations
Enum PdfObjectModificationType
- java.lang.Object
-
- java.lang.Enum<PdfObjectModificationType>
-
- eu.europa.esig.dss.enumerations.PdfObjectModificationType
-
- All Implemented Interfaces:
Serializable,Comparable<PdfObjectModificationType>
public enum PdfObjectModificationType extends Enum<PdfObjectModificationType>
Specifies a modification origin kind
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATIONRepresents an object addition to a final revisionDELETIONRepresents an object deletion from a final revisionMODIFICATIONRepresents an object change in a final revision
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PdfObjectModificationTypevalueOf(String name)Returns the enum constant of this type with the specified name.static PdfObjectModificationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATION
public static final PdfObjectModificationType CREATION
Represents an object addition to a final revision
-
DELETION
public static final PdfObjectModificationType DELETION
Represents an object deletion from a final revision
-
MODIFICATION
public static final PdfObjectModificationType MODIFICATION
Represents an object change in a final revision
-
-
Method Detail
-
values
public static PdfObjectModificationType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PdfObjectModificationType c : PdfObjectModificationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PdfObjectModificationType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-