Enum Class PageSpec

java.lang.Object
java.lang.Enum<PageSpec>
com.datalogics.PDFL.PageSpec
All Implemented Interfaces:
Serializable, Comparable<PageSpec>, Constable

public enum PageSpec extends Enum<PageSpec>
Page range specifications
  • Enum Constant Details

    • ALL_PAGES

      public static final PageSpec ALL_PAGES
      All pages
    • ODD_PAGES_ONLY

      public static final PageSpec ODD_PAGES_ONLY
      Odd pages only
    • EVEN_PAGES_ONLY

      public static final PageSpec EVEN_PAGES_ONLY
      Even pages only
  • Method Details

    • values

      public static PageSpec[] 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 PageSpec 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