public enum ValidationMode extends Enum<ValidationMode>
Enum Constant and Description |
---|
BOTH
Denotes that validation should be performed on deserialization and serialization.
|
DESERIALIZATION
Denotes that validation should be performed only on deserialization.
|
NONE
Denotes that no validation should be performed.
|
SERIALIZATION
Denotes that validation should be performed only on serialization.
|
Modifier and Type | Method and Description |
---|---|
static ValidationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationMode NONE
public static final ValidationMode DESERIALIZATION
public static final ValidationMode SERIALIZATION
public static final ValidationMode BOTH
public static ValidationMode[] values()
for (ValidationMode c : ValidationMode.values()) System.out.println(c);
public static ValidationMode 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 © 2014. All rights reserved.