public static enum Cart.CartElementType extends Enum<Cart.CartElementType>
Enum Constant and Description |
---|
CARTQUERY
Type: cartQuery.
|
CONTENT
Type: content.
|
RESOURCE
Type: resource.
|
Modifier and Type | Method and Description |
---|---|
static Cart.CartElementType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Cart.CartElementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cart.CartElementType CONTENT
public static final Cart.CartElementType RESOURCE
public static final Cart.CartElementType CARTQUERY
public static Cart.CartElementType[] values()
for (Cart.CartElementType c : Cart.CartElementType.values()) System.out.println(c);
public static Cart.CartElementType 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 null