public static enum LineFieldTrait.Kind extends Enum<LineFieldTrait.Kind>
Enum Constant and Description |
---|
BODY
The body field.
|
FILE_NAME
fields which keep file name.
|
IGNORE
Ignored fields.
|
LINE_NUMBER
fields which keep line number.
|
Modifier and Type | Method and Description |
---|---|
static LineFieldTrait.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LineFieldTrait.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineFieldTrait.Kind BODY
public static final LineFieldTrait.Kind FILE_NAME
public static final LineFieldTrait.Kind LINE_NUMBER
public static final LineFieldTrait.Kind IGNORE
public static LineFieldTrait.Kind[] values()
for (LineFieldTrait.Kind c : LineFieldTrait.Kind.values()) System.out.println(c);
public static LineFieldTrait.Kind 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 © 2011–2019 Asakusa Framework Team. All rights reserved.