| Enum Constant | Description |
|---|---|
ATTRIBUTE |
|
BEAN |
|
PARAMETER |
|
PROPERTY |
|
TEMPLATE |
|
TEXT |
| Modifier and Type | Method | Description |
|---|---|---|
static TokenType |
resolve(java.lang.String alias) |
Returns a
TokenType with a value represented
by the specified String. |
java.lang.String |
toString() |
|
static TokenType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static TokenType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TokenType TEXT
public static final TokenType BEAN
public static final TokenType TEMPLATE
public static final TokenType PARAMETER
public static final TokenType ATTRIBUTE
public static final TokenType PROPERTY
public static TokenType[] values()
for (TokenType c : TokenType.values()) System.out.println(c);
public static TokenType 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 java.lang.String toString()
toString in class java.lang.Enum<TokenType>public static TokenType resolve(java.lang.String alias)
TokenType with a value represented
by the specified String.alias - the token type as a StringTokenType, may be nullCopyright © 2008–2018 The Aspectran Project. All rights reserved.