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