Enum Class PDFAFlavour.Specification

java.lang.Object
java.lang.Enum<PDFAFlavour.Specification>
org.verapdf.pdfa.flavours.PDFAFlavour.Specification
All Implemented Interfaces:
Serializable, Comparable<PDFAFlavour.Specification>, java.lang.constant.Constable
Enclosing class:
PDFAFlavour

public static enum PDFAFlavour.Specification extends Enum<PDFAFlavour.Specification>
Enumeration of PDF/A Specification Parts, 1-3 used to provide ids and a standard source of details such as name and description for PDF/A Specifications.
  • Enum Constant Details

  • Method Details

    • values

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

      public static PDFAFlavour.Specification valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getPartNumber

      public final int getPartNumber()
      Returns:
      the part number as an int
    • getId

      public final String getId()
      Returns:
      the standard part id as a String
    • getYear

      public final String getYear()
      Returns:
      the year for the standard part
    • getName

      public final String getName()
      Returns:
      the name for the standard part
    • getFamily

      public final String getFamily()
      Returns:
      the family for the standard part
    • getDescription

      public String getDescription()
      Returns:
      the description
    • getSeries

      public PDFAFlavour.IsoStandardSeries getSeries()
      Returns:
      the PDFAFlavour.IsoStandardSeries instance indicating the standard series
    • toString

      public String toString()
      Overrides:
      toString in class Enum<PDFAFlavour.Specification>