public static enum FormatPreferences.Indentation extends Enum<FormatPreferences.Indentation>
Enum Constant and Description |
---|
CASE_LABELS |
HTML_TAG |
LABELS |
LINE |
LINE_CONTINUATION |
MEMBERS_TOP_LEVEL |
Modifier and Type | Method and Description |
---|---|
static FormatPreferences.Indentation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FormatPreferences.Indentation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FormatPreferences.Indentation MEMBERS_TOP_LEVEL
public static final FormatPreferences.Indentation LABELS
public static final FormatPreferences.Indentation CASE_LABELS
public static final FormatPreferences.Indentation LINE_CONTINUATION
public static final FormatPreferences.Indentation LINE
public static final FormatPreferences.Indentation HTML_TAG
public static FormatPreferences.Indentation[] values()
for (FormatPreferences.Indentation c : FormatPreferences.Indentation.values()) System.out.println(c);
public static FormatPreferences.Indentation 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 © 2019 JBoss by Red Hat. All rights reserved.