public enum SerializationFeature extends Enum<SerializationFeature>
ResourceConverter.| Enum Constant and Description |
|---|
INCLUDE_LINKS
If enabled, links attribute will be serialized
|
INCLUDE_META
If enabled, meta attribute will be serialized
|
INCLUDE_RELATIONSHIP_ATTRIBUTES
This option if enabled instructs resource converter to serialize entire relationship objects (type and id are
serialized by default)
|
| Modifier and Type | Method and Description |
|---|---|
static Set<SerializationFeature> |
getDefaultFeatures()
Returns set of features that are enabled by default.
|
static SerializationFeature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SerializationFeature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SerializationFeature INCLUDE_RELATIONSHIP_ATTRIBUTES
public static final SerializationFeature INCLUDE_META
public static final SerializationFeature INCLUDE_LINKS
public static SerializationFeature[] values()
for (SerializationFeature c : SerializationFeature.values()) System.out.println(c);
public static SerializationFeature 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<SerializationFeature> getDefaultFeatures()
Copyright © 2017. All rights reserved.