java.lang.Enum types.
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | _enabledByDefault
Whether feature is enabled or disabled by default. |
| private final int | |
| private static final int | |
| public static final EnumFeature | READ_ENUM_KEYS_USING_INDEX
Feature that determines standard deserialization mechanism used for
Enum values: if enabled, Enums are assumed to have been serialized using
index of Note this feature should be symmetric to
as |
| public static final EnumFeature | WRITE_ENUMS_TO_LOWERCASE
Feature that determines standard serialization mechanism used for
Enum values: if enabled, return value of |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | enabledByDefault()
Implements com. Accessor for checking whether this feature is enabled by default. |
| public boolean | enabledIn(int
Bit field that contains a set of enabled features of this type flags)Implements com. Convenience method for checking whether feature is enabled in given bitmask. |
| public int | featureIndex()
Implements com. Internal index used for efficient storage and index; no user serviceable contents inside! |
| public int | getMask()
Implements com. Returns bit mask for this feature instance; must be a single bit,
that is of form |
| public static EnumFeature | |
| public static EnumFeature[] |
| _enabledByDefault | back to summary |
|---|---|
| private final boolean _enabledByDefault Whether feature is enabled or disabled by default. | |
| _mask | back to summary |
|---|---|
| private final int _mask | |
| FEATURE_INDEX | back to summary |
|---|---|
| private static final int FEATURE_INDEX | |
| READ_ENUM_KEYS_USING_INDEX | back to summary |
|---|---|
| public static final EnumFeature READ_ENUM_KEYS_USING_INDEX Feature that determines standard deserialization mechanism used for
Enum values: if enabled, Enums are assumed to have been serialized using
index of Note this feature should be symmetric to
as Feature is disabled by default.
| |
| WRITE_ENUMS_TO_LOWERCASE | back to summary |
|---|---|
| public static final EnumFeature WRITE_ENUMS_TO_LOWERCASE Feature that determines standard serialization mechanism used for
Enum values: if enabled, return value of Note this feature CAN NOT be changed on per-call basis: it will have to
be set on Feature is disabled by default.
| |
| EnumFeature | back to summary |
|---|---|
| private EnumFeature(boolean enabledByDefault) | |
| enabledByDefault | back to summary |
|---|---|
| public boolean enabledByDefault() Implements com. Doc from com. Accessor for checking whether this feature is enabled by default.
| |
| enabledIn | back to summary |
|---|---|
| public boolean enabledIn(int flags) Implements com. Doc from com. Convenience method for checking whether feature is enabled in given bitmask.
| |
| featureIndex | back to summary |
|---|---|
| public int featureIndex() Implements com. Doc from com. Internal index used for efficient storage and index; no user serviceable contents inside!
| |
| getMask | back to summary |
|---|---|
| public int getMask() Implements com. Doc from com. Returns bit mask for this feature instance; must be a single bit,
that is of form
| |
| valueOf | back to summary |
|---|---|
| public static EnumFeature valueOf(String name) | |
| values | back to summary |
|---|---|
| public static EnumFeature[] values() | |