com.itextpdf.text.pdf
Enum PdfSigLockDictionary.LockAction

java.lang.Object
  extended by java.lang.Enum<PdfSigLockDictionary.LockAction>
      extended by com.itextpdf.text.pdf.PdfSigLockDictionary.LockAction
All Implemented Interfaces:
Serializable, Comparable<PdfSigLockDictionary.LockAction>
Enclosing class:
PdfSigLockDictionary

public static enum PdfSigLockDictionary.LockAction
extends Enum<PdfSigLockDictionary.LockAction>

Enumerates the different actions of a signature lock. Indicates the set of fields that should be locked: all the fields in the document, all the fields specified in the /Fields array all the fields except those specified in the /Fields array


Enum Constant Summary
ALL
           
EXCLUDE
           
INCLUDE
           
 
Method Summary
 PdfName getValue()
           
static PdfSigLockDictionary.LockAction valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PdfSigLockDictionary.LockAction[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ALL

public static final PdfSigLockDictionary.LockAction ALL

INCLUDE

public static final PdfSigLockDictionary.LockAction INCLUDE

EXCLUDE

public static final PdfSigLockDictionary.LockAction EXCLUDE
Method Detail

values

public static final PdfSigLockDictionary.LockAction[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(PdfSigLockDictionary.LockAction c : PdfSigLockDictionary.LockAction.values())
        System.out.println(c);

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

valueOf

public static PdfSigLockDictionary.LockAction 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

getValue

public PdfName getValue()


Copyright © 2013. All Rights Reserved.