Enum TomlToken

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<TomlToken>

    enum TomlToken
    extends java.lang.Enum<TomlToken>
    • Enum Constant Detail

      • UNQUOTED_KEY

        public static final TomlToken UNQUOTED_KEY
      • DOT_SEP

        public static final TomlToken DOT_SEP
      • STRING

        public static final TomlToken STRING
      • OFFSET_DATE_TIME

        public static final TomlToken OFFSET_DATE_TIME
      • LOCAL_DATE_TIME

        public static final TomlToken LOCAL_DATE_TIME
      • LOCAL_DATE

        public static final TomlToken LOCAL_DATE
      • LOCAL_TIME

        public static final TomlToken LOCAL_TIME
      • INTEGER

        public static final TomlToken INTEGER
      • STD_TABLE_OPEN

        public static final TomlToken STD_TABLE_OPEN
      • STD_TABLE_CLOSE

        public static final TomlToken STD_TABLE_CLOSE
      • INLINE_TABLE_OPEN

        public static final TomlToken INLINE_TABLE_OPEN
      • INLINE_TABLE_CLOSE

        public static final TomlToken INLINE_TABLE_CLOSE
      • ARRAY_TABLE_OPEN

        public static final TomlToken ARRAY_TABLE_OPEN
      • ARRAY_TABLE_CLOSE

        public static final TomlToken ARRAY_TABLE_CLOSE
      • ARRAY_OPEN

        public static final TomlToken ARRAY_OPEN
      • ARRAY_CLOSE

        public static final TomlToken ARRAY_CLOSE
      • KEY_VAL_SEP

        public static final TomlToken KEY_VAL_SEP
      • ARRAY_WS_COMMENT_NEWLINE

        public static final TomlToken ARRAY_WS_COMMENT_NEWLINE
        Whitespace token that is only permitted in arrays
    • Constructor Detail

      • TomlToken

        private TomlToken()
    • Method Detail

      • values

        public static TomlToken[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (TomlToken c : TomlToken.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TomlToken valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null