public static enum MetadataScanner.Token extends java.lang.Enum<MetadataScanner.Token>
Enum Constant | Description |
---|---|
TOKEN_DOUBLE_QUOTE |
|
TOKEN_EOI |
|
TOKEN_EQUALS |
|
TOKEN_ERROR_BUF_NULL |
|
TOKEN_ERROR_EOI_IN_DQUOTES |
|
TOKEN_ERROR_EOI_IN_SQUOTES |
|
TOKEN_SEMICOLON |
|
TOKEN_SINGLE_QUOTE |
|
TOKEN_STRING |
|
TOKEN_UNKNOWN |
|
TOKEN_WHITESPACE |
Modifier and Type | Method | Description |
---|---|---|
int |
getCode() |
Returns the unique code associated with this
Token . |
static MetadataScanner.Token |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static MetadataScanner.Token[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetadataScanner.Token TOKEN_ERROR_EOI_IN_SQUOTES
public static final MetadataScanner.Token TOKEN_ERROR_EOI_IN_DQUOTES
public static final MetadataScanner.Token TOKEN_ERROR_BUF_NULL
public static final MetadataScanner.Token TOKEN_UNKNOWN
public static final MetadataScanner.Token TOKEN_WHITESPACE
public static final MetadataScanner.Token TOKEN_STRING
public static final MetadataScanner.Token TOKEN_SINGLE_QUOTE
public static final MetadataScanner.Token TOKEN_DOUBLE_QUOTE
public static final MetadataScanner.Token TOKEN_SEMICOLON
public static final MetadataScanner.Token TOKEN_EQUALS
public static final MetadataScanner.Token TOKEN_EOI
public static MetadataScanner.Token[] values()
for (MetadataScanner.Token c : MetadataScanner.Token.values()) System.out.println(c);
public static MetadataScanner.Token valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getCode()
Token
.Copyright © 2012–2018 Jett Team. All rights reserved.