public enum UnmarshalKeepAsElementPolicy extends Enum<UnmarshalKeepAsElementPolicy>
| Enum Constant and Description |
|---|
KEEP_ALL_AS_ELEMENT |
KEEP_NONE_AS_ELEMENT |
KEEP_UNKNOWN_AS_ELEMENT |
| Modifier and Type | Method and Description |
|---|---|
static UnmarshalKeepAsElementPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnmarshalKeepAsElementPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnmarshalKeepAsElementPolicy KEEP_ALL_AS_ELEMENT
public static final UnmarshalKeepAsElementPolicy KEEP_NONE_AS_ELEMENT
public static final UnmarshalKeepAsElementPolicy KEEP_UNKNOWN_AS_ELEMENT
public static UnmarshalKeepAsElementPolicy[] values()
for (UnmarshalKeepAsElementPolicy c : UnmarshalKeepAsElementPolicy.values()) System.out.println(c);
public static UnmarshalKeepAsElementPolicy 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 null