Serializable
, Comparable<OptionalOutput>
public enum OptionalOutput extends Enum<OptionalOutput>
Enum Constant | Description |
---|---|
alwaysOutput |
Always outputed, if information is not supplied in the source a default is created.
|
omit |
Never outputed even if supplied in the source.
|
preserve |
outputed ONLY if supplied in the source.
|
Modifier and Type | Method | Description |
---|---|---|
static OptionalOutput |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static OptionalOutput[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OptionalOutput omit
public static final OptionalOutput preserve
public static final OptionalOutput alwaysOutput
public static OptionalOutput[] values()
for (OptionalOutput c : OptionalOutput.values()) System.out.println(c);
public static OptionalOutput 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 © 2006–2018. All rights reserved.