public static enum ParseStatus.Field extends java.lang.Enum<ParseStatus.Field>
Enum Constant and Description |
---|
ARGS |
MAJOR_CODE |
MINOR_CODE |
Modifier and Type | Method and Description |
---|---|
int |
getIndex()
Gets field's index.
|
java.lang.String |
getName()
Gets field's name.
|
java.lang.String |
toString()
Gets field's attributes to string.
|
static ParseStatus.Field |
valueOf(java.lang.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(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 nullpublic int getIndex()
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Enum<ParseStatus.Field>
Copyright © 2019 The Apache Software Foundation