public enum SyntaxNotation extends Enum<SyntaxNotation>
SyntaxNotation
is used by a the
Syntaxable.toSyntax(SyntaxNotation)
method to determine which
notation to be used for the generated syntax.Enum Constant and Description |
---|
GNU_POSIX
A syntax notation derived from (trying to imitate) GNU and POSIX utility
conventions and utility argument syntax.
|
REFCODES
A notation which the author of this code believes to unambiguous
describes any command line utility's argument syntax defined by the means
of this refcodes-console artifact.
|
Modifier and Type | Method and Description |
---|---|
static SyntaxNotation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SyntaxNotation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SyntaxNotation REFCODES
public static final SyntaxNotation GNU_POSIX
public static SyntaxNotation[] values()
for (SyntaxNotation c : SyntaxNotation.values()) System.out.println(c);
public static SyntaxNotation 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 nullCopyright © 2015. All rights reserved.