public enum StockCardImage extends java.lang.Enum<StockCardImage> implements CardImage
Enum Constant and Description |
---|
CSV |
EMAIL |
ERROR |
HTML |
JSON |
TEXT |
XML |
XML_REQUEST |
XML_RESPONSE |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getKey() |
org.concordion.api.Resource |
getResource() |
java.lang.String |
toString() |
static StockCardImage |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StockCardImage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StockCardImage CSV
public static final StockCardImage EMAIL
public static final StockCardImage ERROR
public static final StockCardImage HTML
public static final StockCardImage JSON
public static final StockCardImage TEXT
public static final StockCardImage XML
public static final StockCardImage XML_REQUEST
public static final StockCardImage XML_RESPONSE
public static StockCardImage[] values()
for (StockCardImage c : StockCardImage.values()) System.out.println(c);
public static StockCardImage valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullprotected java.lang.String getKey()
public org.concordion.api.Resource getResource()
getResource
in interface CardImage
public java.lang.String toString()
toString
in interface CardImage
toString
in class java.lang.Enum<StockCardImage>