Package org.apache.fop.render.pdf
Enum PDFSignOption
- java.lang.Object
-
- java.lang.Enum<PDFSignOption>
-
- org.apache.fop.render.pdf.PDFSignOption
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PDFSignOption>,RendererConfigOption
public enum PDFSignOption extends java.lang.Enum<PDFSignOption> implements RendererConfigOption
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringnamestatic java.lang.StringSIGN_PARAMS
-
Constructor Summary
Constructors Modifier Constructor Description privatePDFSignOption(java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetDefaultValue()java.lang.StringgetName()The name of the option.static PDFSignOptionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PDFSignOption[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
KEYSTORE
public static final PDFSignOption KEYSTORE
-
NAME
public static final PDFSignOption NAME
-
LOCATION
public static final PDFSignOption LOCATION
-
REASON
public static final PDFSignOption REASON
-
PASSWORD
public static final PDFSignOption PASSWORD
-
-
Field Detail
-
SIGN_PARAMS
public static final java.lang.String SIGN_PARAMS
- See Also:
- Constant Field Values
-
name
private final java.lang.String name
-
-
Method Detail
-
values
public static PDFSignOption[] 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 (PDFSignOption c : PDFSignOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PDFSignOption valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getName
public java.lang.String getName()
Description copied from interface:RendererConfigOptionThe name of the option.- Specified by:
getNamein interfaceRendererConfigOption
-
getDefaultValue
public java.lang.Object getDefaultValue()
- Specified by:
getDefaultValuein interfaceRendererConfigOption
-
-