Skip navigation links
oracle.javatools.db.plsql
Enum PlSqlToken.Type
java.lang.Object
java.lang.Enum<PlSqlToken.Type>
oracle.javatools.db.plsql.PlSqlToken.Type
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<PlSqlToken.Type>
- Enclosing class:
- PlSqlToken
-
public static enum PlSqlToken.Type
- extends java.lang.Enum<PlSqlToken.Type>
Method Summary |
static PlSqlToken.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PlSqlToken.Type[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
UNKNOWN
public static final PlSqlToken.Type UNKNOWN
WHITESPACE
public static final PlSqlToken.Type WHITESPACE
SINGLE_LINE_COMMENT
public static final PlSqlToken.Type SINGLE_LINE_COMMENT
MULTI_LINE_COMMENT
public static final PlSqlToken.Type MULTI_LINE_COMMENT
SINGLE_QUOTED_STRING
public static final PlSqlToken.Type SINGLE_QUOTED_STRING
DOUBLE_QUOTED_STRING
public static final PlSqlToken.Type DOUBLE_QUOTED_STRING
ALPHANUMERIC
public static final PlSqlToken.Type ALPHANUMERIC
PUNCTUATION
public static final PlSqlToken.Type PUNCTUATION
USER_TOKEN
public static final PlSqlToken.Type USER_TOKEN
END_MARKER
public static final PlSqlToken.Type END_MARKER
values
public static PlSqlToken.Type[] 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 (PlSqlToken.Type c : PlSqlToken.Type.values())
System.out.println(c);
-
- Returns:
- an array containing the constants of this enum type, in the order they are declared
valueOf
public static PlSqlToken.Type 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
Skip navigation links
Copyright © 1997, 2012, Oracle. All rights reserved.