public enum RegisterType extends Enum<RegisterType>
Enum Constant and Description |
---|
INHERITANCE
Configures Gson for custom serialization or deserialization for an
inheritance type hierarchy
|
SINGLE
Configures Gson for custom serialization or deserialization for a single
type hierarchy.
|
Modifier and Type | Method and Description |
---|---|
static RegisterType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RegisterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegisterType SINGLE
public static final RegisterType INHERITANCE
public static RegisterType[] values()
for (RegisterType c : RegisterType.values()) System.out.println(c);
public static RegisterType 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 Caelum. All rights reserved.