public static enum IParser.OutputStyle extends Enum<IParser.OutputStyle>
| Enum Constant and Description |
|---|
CANONICAL
Produce canonical output - no comments, no whitspace, HTML whitespace normlised, JSON attributes sorted alphabetically (slightly slower)
|
NORMAL
Produce normal output - no whitespace, except in HTML where whitespace is untouched
|
PRETTY
Produce pretty output - human readable whitespace, HTML whitespace untouched
|
| Modifier and Type | Method and Description |
|---|---|
static IParser.OutputStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IParser.OutputStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IParser.OutputStyle NORMAL
public static final IParser.OutputStyle PRETTY
public static final IParser.OutputStyle CANONICAL
public static IParser.OutputStyle[] values()
for (IParser.OutputStyle c : IParser.OutputStyle.values()) System.out.println(c);
public static IParser.OutputStyle 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 © 2014–2021 Health Level 7. All rights reserved.