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