public static enum SuccessResponse.FormatEnum extends Enum<SuccessResponse.FormatEnum>
| Modifier and Type | Method and Description |
|---|---|
static SuccessResponse.FormatEnum |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static SuccessResponse.FormatEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SuccessResponse.FormatEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SuccessResponse.FormatEnum TEXT
public static final SuccessResponse.FormatEnum XML
public static SuccessResponse.FormatEnum[] values()
for (SuccessResponse.FormatEnum c : SuccessResponse.FormatEnum.values()) System.out.println(c);
public static SuccessResponse.FormatEnum 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 nullpublic String getValue()
public String toString()
toString in class Enum<SuccessResponse.FormatEnum>public static SuccessResponse.FormatEnum fromValue(String text)
Copyright © 2018 Symphony Software Foundation. All rights reserved.