Package com.attivio.sdk.util
Enum StringParser.TokenType
- java.lang.Object
-
- java.lang.Enum<StringParser.TokenType>
-
- com.attivio.sdk.util.StringParser.TokenType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<StringParser.TokenType>
- Enclosing class:
- StringParser
public static enum StringParser.TokenType extends java.lang.Enum<StringParser.TokenType>
Type for a token.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringParser.TokenType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static StringParser.TokenType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMMA
public static final StringParser.TokenType COMMA
-
TILDA
public static final StringParser.TokenType TILDA
-
CARET
public static final StringParser.TokenType CARET
-
COLON
public static final StringParser.TokenType COLON
-
SEMICOLON
public static final StringParser.TokenType SEMICOLON
-
SLASH
public static final StringParser.TokenType SLASH
-
AT
public static final StringParser.TokenType AT
-
LPAREN
public static final StringParser.TokenType LPAREN
-
RPAREN
public static final StringParser.TokenType RPAREN
-
LSQUARE
public static final StringParser.TokenType LSQUARE
-
RSQUARE
public static final StringParser.TokenType RSQUARE
-
LCURLY
public static final StringParser.TokenType LCURLY
-
RCURLY
public static final StringParser.TokenType RCURLY
-
EQ
public static final StringParser.TokenType EQ
-
NE
public static final StringParser.TokenType NE
-
LT
public static final StringParser.TokenType LT
-
GT
public static final StringParser.TokenType GT
-
LE
public static final StringParser.TokenType LE
-
GE
public static final StringParser.TokenType GE
-
INTEGER
public static final StringParser.TokenType INTEGER
-
FLOAT
public static final StringParser.TokenType FLOAT
-
DATE
public static final StringParser.TokenType DATE
-
STRING
public static final StringParser.TokenType STRING
-
VAR
public static final StringParser.TokenType VAR
-
BINARY
public static final StringParser.TokenType BINARY
-
EOS
public static final StringParser.TokenType EOS
-
-
Method Detail
-
values
public static StringParser.TokenType[] 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 (StringParser.TokenType c : StringParser.TokenType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StringParser.TokenType 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
-
-