public enum DeserializationFeature extends Enum<DeserializationFeature>
ResourceConverter.| Enum Constant and Description |
|---|
ALLOW_UNKNOWN_INCLUSIONS
This option determines whether encountering unknown types results in
IllegalArgumentException being
thrown, or if parsing continues and the unknown field is ignored. |
REQUIRE_RESOURCE_ID
This option enforces presence of the 'id' attribute in resources being parsed.
|
| Modifier and Type | Method and Description |
|---|---|
static Set<DeserializationFeature> |
getDefaultFeatures()
Returns set of features that are enabled by default.
|
static DeserializationFeature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeserializationFeature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeserializationFeature REQUIRE_RESOURCE_ID
public static final DeserializationFeature ALLOW_UNKNOWN_INCLUSIONS
IllegalArgumentException being
thrown, or if parsing continues and the unknown field is ignored.public static DeserializationFeature[] values()
for (DeserializationFeature c : DeserializationFeature.values()) System.out.println(c);
public static DeserializationFeature 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 Set<DeserializationFeature> getDefaultFeatures()
Copyright © 2017. All rights reserved.