Serializable
, Comparable<SerializedType>
public enum SerializedType extends Enum<SerializedType>
Modifier and Type | Method | Description |
---|---|---|
static SerializedType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static SerializedType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SerializedType JSON
public static final SerializedType XML
public static final SerializedType HTML
public static SerializedType[] values()
for (SerializedType c : SerializedType.values()) System.out.println(c);
public static SerializedType 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 © 2017. All rights reserved.