public static enum PrettyPrintWriter.WhiteSpaceHandler extends Enum<PrettyPrintWriter.WhiteSpaceHandler>
Enum Constant and Description |
---|
COLLAPSE_WHITESPACE |
ELIMINATE_NEWLINES |
Modifier and Type | Method and Description |
---|---|
static PrettyPrintWriter.WhiteSpaceHandler |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrettyPrintWriter.WhiteSpaceHandler[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrettyPrintWriter.WhiteSpaceHandler ELIMINATE_NEWLINES
public static final PrettyPrintWriter.WhiteSpaceHandler COLLAPSE_WHITESPACE
public static PrettyPrintWriter.WhiteSpaceHandler[] values()
for (PrettyPrintWriter.WhiteSpaceHandler c : PrettyPrintWriter.WhiteSpaceHandler.values()) System.out.println(c);
public static PrettyPrintWriter.WhiteSpaceHandler 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 © 2015. All rights reserved.