com.digisigner.api
Enum SignatureRenderingModeEnum

java.lang.Object
  extended by java.lang.Enum<SignatureRenderingModeEnum>
      extended by com.digisigner.api.SignatureRenderingModeEnum
All Implemented Interfaces:
Serializable, Comparable<SignatureRenderingModeEnum>

public enum SignatureRenderingModeEnum
extends Enum<SignatureRenderingModeEnum>

Signature rendering mode.

Author:
DigiSigner Software

Enum Constant Summary
GRAPHIC
          A graphic will be displayed.
NAME
          The signer name will be displayed.
TEXT
          The signature text will be displayed.
 
Method Summary
static SignatureRenderingModeEnum valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SignatureRenderingModeEnum[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NAME

public static final SignatureRenderingModeEnum NAME
The signer name will be displayed. The signer name is taken from the distinguished name of the signer's certificate.


GRAPHIC

public static final SignatureRenderingModeEnum GRAPHIC
A graphic will be displayed.


TEXT

public static final SignatureRenderingModeEnum TEXT
The signature text will be displayed. The text is built from information like reason, signer name, location, date etc. It can be configured.

Method Detail

values

public static SignatureRenderingModeEnum[] 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 (SignatureRenderingModeEnum c : SignatureRenderingModeEnum.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SignatureRenderingModeEnum 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 name
NullPointerException - if the argument is null