public static enum FormatPreferences.Indentation extends java.lang.Enum<FormatPreferences.Indentation>
Enum Constant and Description |
---|
CASE_LABELS |
HTML_TAG |
LABELS |
LINE |
LINE_CONTINUATION |
MEMBERS_TOP_LEVEL |
Modifier and Type | Method and Description |
---|---|
(package private) Indent |
getIndent() |
static FormatPreferences.Indentation |
valueOf(java.lang.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
private final Indent indent
public static FormatPreferences.Indentation[] values()
for (FormatPreferences.Indentation c : FormatPreferences.Indentation.values()) System.out.println(c);
public static FormatPreferences.Indentation 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 nullIndent getIndent()