|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<StyleScanner.Token>
net.sf.jett.parser.StyleScanner.Token
public static enum StyleScanner.Token
Enumeration for the different types of Tokens in "CSS".
| Method Summary | |
|---|---|
int |
getCode()
Returns the unique code associated with this Token. |
static StyleScanner.Token |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static StyleScanner.Token[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final StyleScanner.Token TOKEN_ERROR_EOI_IN_COMMENT
public static final StyleScanner.Token TOKEN_ERROR_BUF_NULL
public static final StyleScanner.Token TOKEN_UNKNOWN
public static final StyleScanner.Token TOKEN_WHITESPACE
public static final StyleScanner.Token TOKEN_STRING
public static final StyleScanner.Token TOKEN_COLON
public static final StyleScanner.Token TOKEN_PERIOD
public static final StyleScanner.Token TOKEN_BEGIN_BRACE
public static final StyleScanner.Token TOKEN_END_BRACE
public static final StyleScanner.Token TOKEN_SEMICOLON
public static final StyleScanner.Token TOKEN_COMMENT
public static final StyleScanner.Token TOKEN_EOI
| Method Detail |
|---|
public static final StyleScanner.Token[] values()
for(StyleScanner.Token c : StyleScanner.Token.values())
System.out.println(c);
public static StyleScanner.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 namepublic int getCode()
Token.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||