Enum AppearanceItem
- java.lang.Object
-
- java.lang.Enum<AppearanceItem>
-
- com.adobe.pdfservices.operation.pdfjobs.params.electronicseal.AppearanceItem
-
- All Implemented Interfaces:
Serializable
,Comparable<AppearanceItem>
public enum AppearanceItem extends Enum<AppearanceItem>
Supported elements to represent electronic seal required forAppearanceOptions
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATE
Represents the date of applying electronic seal.DISTINGUISHED_NAME
Represents the distinguished name information of certificate.LABELS
Represents labels for seal information.NAME
Represents the name of certificate owner.SEAL_IMAGE
Represents the background image to be used for sealing.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getItem()
Returns the string representation of the appearance item.static AppearanceItem
valueOf(String name)
Returns the enum constant of this type with the specified name.static AppearanceItem[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NAME
public static final AppearanceItem NAME
Represents the name of certificate owner.
-
DATE
public static final AppearanceItem DATE
Represents the date of applying electronic seal.
-
DISTINGUISHED_NAME
public static final AppearanceItem DISTINGUISHED_NAME
Represents the distinguished name information of certificate.
-
LABELS
public static final AppearanceItem LABELS
Represents labels for seal information.
-
SEAL_IMAGE
public static final AppearanceItem SEAL_IMAGE
Represents the background image to be used for sealing.
-
-
Method Detail
-
values
public static AppearanceItem[] 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 (AppearanceItem c : AppearanceItem.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AppearanceItem 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
-
getItem
public String getItem()
Returns the string representation of the appearance item.- Returns:
- String representation of the appearance item
-
-