public static enum ParseStatus.Field extends Enum<ParseStatus.Field>
Enum Constant and Description |
---|
ARGS |
MAJOR_CODE |
MINOR_CODE |
Modifier and Type | Method and Description |
---|---|
int |
getIndex()
Gets field's index.
|
String |
getName()
Gets field's name.
|
String |
toString()
Gets field's attributes to string.
|
static ParseStatus.Field |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParseStatus.Field[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParseStatus.Field MAJOR_CODE
public static final ParseStatus.Field MINOR_CODE
public static final ParseStatus.Field ARGS
public static ParseStatus.Field[] values()
for (ParseStatus.Field c : ParseStatus.Field.values()) System.out.println(c);
public static ParseStatus.Field 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 int getIndex()
public String getName()
public String toString()
toString
in class Enum<ParseStatus.Field>
Copyright © 2015 The Apache Software Foundation