public enum State extends Enum<State>
Enum Constant and Description |
---|
ATTRIBUTE_KEY |
ATTRIBUTE_OPERATOR |
ATTRIBUTE_VALUE |
ESCAPED_NAME |
IDLE |
MODIFIER |
MODIFIER_ARGUMENT |
NAME |
START |
TYPE |
TYPE_WITH_SLASHES |
Modifier and Type | Method and Description |
---|---|
abstract void |
process(ParserContext context,
char c) |
static State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final State START
public static final State IDLE
public static final State TYPE
public static final State TYPE_WITH_SLASHES
public static final State NAME
public static final State ESCAPED_NAME
public static final State ATTRIBUTE_KEY
public static final State ATTRIBUTE_OPERATOR
public static final State ATTRIBUTE_VALUE
public static final State MODIFIER
public static final State MODIFIER_ARGUMENT
public static State[] values()
for (State c : State.values()) System.out.println(c);
public static State valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract void process(ParserContext context, char c)
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.