Enum PdfAConformance

java.lang.Object
java.lang.Enum<PdfAConformance>
com.itextpdf.kernel.pdf.PdfAConformance
All Implemented Interfaces:
Serializable, Comparable<PdfAConformance>, java.lang.constant.Constable

public enum PdfAConformance extends Enum<PdfAConformance>
PDF/A is a special variant of PDF designed specifically for long-term document preservation (the “A” stands for archive).

The class contains an enumeration of all the PDF/A conformance currently supported by iText.

  • Enum Constant Details

  • Method Details

    • values

      public static PdfAConformance[] 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 PdfAConformance 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
    • getPart

      public String getPart()
      Get the part of the PDF/A conformance.
      Returns:
      the part of the PDF/A conformance
    • getLevel

      public String getLevel()
      Get the level of the PDF/A conformance.
      Returns:
      the level of the PDF/A conformance