public enum BodyTypeResponseType extends Enum<BodyTypeResponseType>
Java class for BodyTypeResponseType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="BodyTypeResponseType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="Best"/>
<enumeration value="HTML"/>
<enumeration value="Text"/>
</restriction>
</simpleType>
| Modifier and Type | Method and Description |
|---|---|
static BodyTypeResponseType |
fromValue(String v) |
String |
value() |
static BodyTypeResponseType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BodyTypeResponseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BodyTypeResponseType BEST
public static final BodyTypeResponseType HTML
public static final BodyTypeResponseType TEXT
public static BodyTypeResponseType[] values()
for (BodyTypeResponseType c : BodyTypeResponseType.values()) System.out.println(c);
public static BodyTypeResponseType 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 value()
public static BodyTypeResponseType fromValue(String v)
Copyright © 2017 Apereo. All Rights Reserved.