public enum TemplateElementFieldType extends Enum<TemplateElementFieldType>
Java class for TemplateElementField.Type.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="TemplateElementField.Type">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="ADDRESS"/>
<enumeration value="AUDIO"/>
<enumeration value="ENUM"/>
<enumeration value="IMAGE"/>
<enumeration value="BACKGROUND_IMAGE"/>
<enumeration value="NUMBER"/>
<enumeration value="TEXT"/>
<enumeration value="URL"/>
<enumeration value="VIDEO"/>
<enumeration value="VISIBLE_URL"/>
<enumeration value="MEDIA_BUNDLE"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ADDRESS
Address field type (text).
|
AUDIO
Audio field type (Media).
|
BACKGROUND_IMAGE
Background Image field type (Media).
|
ENUM
Enum field type (text).
|
IMAGE
Image field type (Media).
|
MEDIA_BUNDLE
A ZIP file containing HTML5 assets.
|
NUMBER
Number field type (text).
|
TEXT
Text field type (text).
|
UNKNOWN
UNKNOWN type can not be passed as input.
|
URL
URL field type (text).
|
VIDEO
Video field type (Media).
|
VISIBLE_URL
Visible URL field type (text).
|
| Modifier and Type | Method and Description |
|---|---|
static TemplateElementFieldType |
fromValue(String v) |
String |
value() |
static TemplateElementFieldType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TemplateElementFieldType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TemplateElementFieldType ADDRESS
public static final TemplateElementFieldType AUDIO
public static final TemplateElementFieldType ENUM
public static final TemplateElementFieldType IMAGE
public static final TemplateElementFieldType BACKGROUND_IMAGE
public static final TemplateElementFieldType NUMBER
public static final TemplateElementFieldType TEXT
public static final TemplateElementFieldType URL
public static final TemplateElementFieldType VIDEO
public static final TemplateElementFieldType VISIBLE_URL
public static final TemplateElementFieldType MEDIA_BUNDLE
public static final TemplateElementFieldType UNKNOWN
public static TemplateElementFieldType[] values()
for (TemplateElementFieldType c : TemplateElementFieldType.values()) System.out.println(c);
public static TemplateElementFieldType 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 TemplateElementFieldType fromValue(String v)
Copyright © 2023. All rights reserved.