|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ValidationMode>
net.sf.jsefa.common.config.ValidationMode
public enum ValidationMode
Enum for the different modes of validation.
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ValidationMode NONE
public static final ValidationMode DESERIALIZATION
public static final ValidationMode SERIALIZATION
public static final ValidationMode BOTH
Method Detail |
---|
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 name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |