public static enum ParserDefinition.SpaceRequirements extends java.lang.Enum<ParserDefinition.SpaceRequirements>
Enum Constant and Description |
---|
MAY
Whitespace between tokens is optional.
|
MUST
Whitespace between tokens is required.
|
MUST_LINE_BREAK
A line break is required between tokens.
|
MUST_NOT
Whitespace between tokens is not allowed.
|
Modifier and Type | Method and Description |
---|---|
static ParserDefinition.SpaceRequirements |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ParserDefinition.SpaceRequirements[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParserDefinition.SpaceRequirements MAY
public static final ParserDefinition.SpaceRequirements MUST
public static final ParserDefinition.SpaceRequirements MUST_NOT
public static final ParserDefinition.SpaceRequirements MUST_LINE_BREAK
public static ParserDefinition.SpaceRequirements[] values()
for (ParserDefinition.SpaceRequirements c : ParserDefinition.SpaceRequirements.values()) System.out.println(c);
public static ParserDefinition.SpaceRequirements 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 null