Enum Class Token.Kind

java.lang.Object
java.lang.Enum<Token.Kind>
org.apache.fontbox.type1.Token.Kind
All Implemented Interfaces:
Serializable, Comparable<Token.Kind>, Constable
Enclosing class:
Token

static enum Token.Kind extends Enum<Token.Kind>
All different types of tokens.
  • Enum Constant Details

    • NONE

      public static final Token.Kind NONE
    • STRING

      public static final Token.Kind STRING
    • NAME

      public static final Token.Kind NAME
    • LITERAL

      public static final Token.Kind LITERAL
    • REAL

      public static final Token.Kind REAL
    • INTEGER

      public static final Token.Kind INTEGER
    • START_ARRAY

      public static final Token.Kind START_ARRAY
    • END_ARRAY

      public static final Token.Kind END_ARRAY
    • START_PROC

      public static final Token.Kind START_PROC
    • END_PROC

      public static final Token.Kind END_PROC
    • START_DICT

      public static final Token.Kind START_DICT
    • END_DICT

      public static final Token.Kind END_DICT
    • CHARSTRING

      public static final Token.Kind CHARSTRING
  • Constructor Details

    • Kind

      private Kind()
  • Method Details

    • values

      public static Token.Kind[] 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 Token.Kind 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