Enum TomlToken
- java.lang.Object
-
- java.lang.Enum<TomlToken>
-
- com.fasterxml.jackson.dataformat.toml.TomlToken
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARRAY_CLOSE
ARRAY_OPEN
ARRAY_TABLE_CLOSE
ARRAY_TABLE_OPEN
ARRAY_WS_COMMENT_NEWLINE
Whitespace token that is only permitted in arraysCOMMA
DOT_SEP
FALSE
FLOAT
INLINE_TABLE_CLOSE
INLINE_TABLE_OPEN
INTEGER
KEY_VAL_SEP
LOCAL_DATE
LOCAL_DATE_TIME
LOCAL_TIME
OFFSET_DATE_TIME
STD_TABLE_CLOSE
STD_TABLE_OPEN
STRING
TRUE
UNQUOTED_KEY
-
Constructor Summary
Constructors Modifier Constructor Description private
TomlToken()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TomlToken
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TomlToken[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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
-
TRUE
public static final TomlToken TRUE
-
FALSE
public static final TomlToken FALSE
-
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
-
FLOAT
public static final TomlToken FLOAT
-
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
-
COMMA
public static final TomlToken COMMA
-
ARRAY_WS_COMMENT_NEWLINE
public static final TomlToken ARRAY_WS_COMMENT_NEWLINE
Whitespace token that is only permitted in arrays
-
-
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 namejava.lang.NullPointerException
- if the argument is null
-
-