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