public static enum YAMLGenerator.Feature extends Enum<YAMLGenerator.Feature>
Enum Constant and Description |
---|
BOGUS |
Modifier and Type | Field and Description |
---|---|
protected boolean |
_defaultState |
protected int |
_mask |
Modifier and Type | Method and Description |
---|---|
static int |
collectDefaults()
Method that calculates bit set (flags) of all features that
are enabled by default.
|
boolean |
enabledByDefault() |
int |
getMask() |
static YAMLGenerator.Feature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static YAMLGenerator.Feature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YAMLGenerator.Feature BOGUS
public static YAMLGenerator.Feature[] values()
for (YAMLGenerator.Feature c : YAMLGenerator.Feature.values()) System.out.println(c);
public static YAMLGenerator.Feature 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 nullpublic static int collectDefaults()
public boolean enabledByDefault()
public int getMask()
Copyright © 2014. All rights reserved.