Package net.webpdf.wsclient.openapi
Enum MetadataInformation.DocMDPEnum
- java.lang.Object
-
- java.lang.Enum<MetadataInformation.DocMDPEnum>
-
- net.webpdf.wsclient.openapi.MetadataInformation.DocMDPEnum
-
- All Implemented Interfaces:
Serializable,Comparable<MetadataInformation.DocMDPEnum>
- Enclosing class:
- MetadataInformation
public static enum MetadataInformation.DocMDPEnum extends Enum<MetadataInformation.DocMDPEnum>
A document \"Modification Detection and Prevention\" may be set, that defines which modifications of the document are allowed and which modifications would render the signature invalid. * none = The document is unprotected - modify it as you please. * noChangesAllowed = Any modifications of the document would render the signatures invalid. * formFillingSignatures = You may fill in forms and further sign the document. * formFillingSignaturesAndAnnotations = Form filling, signing and adding annotations are allowed.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FORMFILLINGSIGNATURESFORMFILLINGSIGNATURESANNOTATIONSNOCHANGESALLOWEDNONE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MetadataInformation.DocMDPEnumfromValue(String value)StringgetValue()StringtoString()static MetadataInformation.DocMDPEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static MetadataInformation.DocMDPEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final MetadataInformation.DocMDPEnum NONE
-
NOCHANGESALLOWED
public static final MetadataInformation.DocMDPEnum NOCHANGESALLOWED
-
FORMFILLINGSIGNATURES
public static final MetadataInformation.DocMDPEnum FORMFILLINGSIGNATURES
-
FORMFILLINGSIGNATURESANNOTATIONS
public static final MetadataInformation.DocMDPEnum FORMFILLINGSIGNATURESANNOTATIONS
-
-
Method Detail
-
values
public static MetadataInformation.DocMDPEnum[] 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 (MetadataInformation.DocMDPEnum c : MetadataInformation.DocMDPEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MetadataInformation.DocMDPEnum 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
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<MetadataInformation.DocMDPEnum>
-
fromValue
public static MetadataInformation.DocMDPEnum fromValue(String value)
-
-