public static enum Embed.Type extends Enum<Embed.Type>
| Enum Constant and Description |
|---|
EMBEDDABLE
Embed type for input from an embeddable.
|
HTML
Embed type for input from a HTML snippet.
|
URL
Embed type for input from a URL.
|
| Modifier and Type | Method and Description |
|---|---|
static Embed.Type |
fromString(String value)
Given a
String value, this method returns the enum's value that corresponds to
the provided string representation. |
static Embed.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Embed.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Embed.Type URL
public static final Embed.Type EMBEDDABLE
public static final Embed.Type HTML
public static Embed.Type[] values()
for (Embed.Type c : Embed.Type.values()) System.out.println(c);
public static Embed.Type 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 static Embed.Type fromString(String value)
String value, this method returns the enum's value that corresponds to
the provided string representation. If no representation is found, null will be returned.value - the string representation for which an enum value should be returnednull otherwiseCopyright © 2010 - 2020 Adobe. All Rights Reserved