Enum PDFInfo.StandardKey

java.lang.Object
java.lang.Enum<PDFInfo.StandardKey>
org.apache.fop.pdf.PDFInfo.StandardKey
All Implemented Interfaces:
Serializable, Comparable<PDFInfo.StandardKey>, java.lang.constant.Constable
Enclosing class:
PDFInfo

public static enum PDFInfo.StandardKey extends Enum<PDFInfo.StandardKey>
The standard keys in the Document Information Dictionary
  • Enum Constant Details

  • Method Details

    • values

      public static PDFInfo.StandardKey[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static PDFInfo.StandardKey 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
    • get

      public static PDFInfo.StandardKey get(String name)
      Returns the standard key that corresponds to the given name.
      Parameters:
      name - key name
      Returns:
      the key whose name exactly matches the given name (case-sensitive)
    • getName

      public String getName()
      Returns the name of this key.
      Returns:
      the name as it would appear in the Info dictionary without the leading slash