private static enum JsDocInfoParser.WhitespaceOption extends java.lang.Enum<JsDocInfoParser.WhitespaceOption>
Enum Constant and Description |
---|
PRESERVE
Preserves all whitespace and formatting.
|
SINGLE_LINE
Removes newlines and turns the output into a single line string.
|
TRIM
Preserves newlines but trims the output.
|
Modifier and Type | Method and Description |
---|---|
static JsDocInfoParser.WhitespaceOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JsDocInfoParser.WhitespaceOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsDocInfoParser.WhitespaceOption PRESERVE
public static final JsDocInfoParser.WhitespaceOption TRIM
public static final JsDocInfoParser.WhitespaceOption SINGLE_LINE
public static JsDocInfoParser.WhitespaceOption[] values()
for (JsDocInfoParser.WhitespaceOption c : JsDocInfoParser.WhitespaceOption.values()) System.out.println(c);
public static JsDocInfoParser.WhitespaceOption 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 null