Enum SQLTokenType
- java.lang.Object
-
- java.lang.Enum<SQLTokenType>
-
- de.akquinet.jbosscc.guttenbase.sql.SQLTokenType
-
- All Implemented Interfaces:
Serializable
,Comparable<SQLTokenType>
public enum SQLTokenType extends Enum<SQLTokenType>
Tokens forSQLLexer
.© 2012-2034 akquinet tech@spree
- Author:
- M. Dahm
-
-
Enum Constant Summary
Enum Constants Enum Constant Description END_OF_LINE
END_OF_STATEMENT
EOF
ESCAPED_STRING_DELIMITER
MULTI_LINE_COMMENT_END
MULTI_LINE_COMMENT_START
OTHER
SINGLE_LINE_COMMENT_START
STRING_DELIMITER_END
STRING_DELIMITER_START
WHITESPACE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SQLTokenType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SQLTokenType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WHITESPACE
public static final SQLTokenType WHITESPACE
-
SINGLE_LINE_COMMENT_START
public static final SQLTokenType SINGLE_LINE_COMMENT_START
-
MULTI_LINE_COMMENT_START
public static final SQLTokenType MULTI_LINE_COMMENT_START
-
MULTI_LINE_COMMENT_END
public static final SQLTokenType MULTI_LINE_COMMENT_END
-
STRING_DELIMITER_START
public static final SQLTokenType STRING_DELIMITER_START
-
STRING_DELIMITER_END
public static final SQLTokenType STRING_DELIMITER_END
-
END_OF_STATEMENT
public static final SQLTokenType END_OF_STATEMENT
-
END_OF_LINE
public static final SQLTokenType END_OF_LINE
-
OTHER
public static final SQLTokenType OTHER
-
EOF
public static final SQLTokenType EOF
-
ESCAPED_STRING_DELIMITER
public static final SQLTokenType ESCAPED_STRING_DELIMITER
-
-
Method Detail
-
values
public static SQLTokenType[] 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 (SQLTokenType c : SQLTokenType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SQLTokenType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-