Enum SignatureEditProfileType
- java.lang.Object
-
- java.lang.Enum<SignatureEditProfileType>
-
- net.webpdf.wsclient.schema.operation.SignatureEditProfileType
-
- All Implemented Interfaces:
Serializable,Comparable<SignatureEditProfileType>
public enum SignatureEditProfileType extends Enum<SignatureEditProfileType>
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p644063_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p831178_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Defines the profile whose rules web services have to check before they can come to execution. These profiles define a set of rules concerning the validity of signatures. A web service whose execution for a given signed document would violate the ruleset selected here should instead abort with an appropriate error code. <ul><li>adobeRestrictions = Only those changes are allowed that are enabled by the included signatures. This follows the specifications given by Adobe.</li><li>generalEditRestrictions = All changes to signed documents are prohibited, even those that might be allowed according to the included signatures.</li><li>noEditRestrictions = Editing of signed documents is not restricted and all changes are allowed (by doing this, you accept that all signatures could potentially be removed from the document when necessary).</li></ul></p>Java class for SignatureEditProfileType
.The following schema fragment specifies the expected content contained within this class.
<simpleType name="SignatureEditProfileType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="adobeRestrictions"/> <enumeration value="generalEditRestrictions"/> <enumeration value="noEditRestrictions"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADOBE_RESTRICTIONSGENERAL_EDIT_RESTRICTIONSNO_EDIT_RESTRICTIONS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SignatureEditProfileTypefromValue(String v)Gets the enum associated to the value passed as parameter.Stringvalue()Gets the value associated to the enum constant.static SignatureEditProfileTypevalueOf(String name)Returns the enum constant of this type with the specified name.static SignatureEditProfileType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADOBE_RESTRICTIONS
public static final SignatureEditProfileType ADOBE_RESTRICTIONS
-
GENERAL_EDIT_RESTRICTIONS
public static final SignatureEditProfileType GENERAL_EDIT_RESTRICTIONS
-
NO_EDIT_RESTRICTIONS
public static final SignatureEditProfileType NO_EDIT_RESTRICTIONS
-
-
Method Detail
-
values
public static SignatureEditProfileType[] 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 (SignatureEditProfileType c : SignatureEditProfileType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SignatureEditProfileType 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
-
value
public String value()
Gets the value associated to the enum constant.- Returns:
- The value linked to the enum.
-
fromValue
public static SignatureEditProfileType fromValue(String v)
Gets the enum associated to the value passed as parameter.- Parameters:
v- The value to get the enum from.- Returns:
- The enum which corresponds to the value, if it exists.
- Throws:
IllegalArgumentException- If no value matches in the enum declaration.
-
-