public enum EncoderMode extends Enum<EncoderMode>
EncoderMode class.
| Enum Constant and Description |
|---|
NonStrict
NonStrict encoder encodes null values with default (empty) fields
|
Strict
Strict encoder throws EncodingException if the object contains nulls which cannot be encoded
|
| Modifier and Type | Method and Description |
|---|---|
static EncoderMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EncoderMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncoderMode Strict
public static final EncoderMode NonStrict
public static EncoderMode[] values()
for (EncoderMode c : EncoderMode.values()) System.out.println(c);
public static EncoderMode 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 © 2026. All rights reserved.