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