org.apache.shindig.gadgets.servlet
Enum GadgetsHandlerApi.UserPrefDataType
java.lang.Object
java.lang.Enum<GadgetsHandlerApi.UserPrefDataType>
org.apache.shindig.gadgets.servlet.GadgetsHandlerApi.UserPrefDataType
- All Implemented Interfaces:
- Serializable, Comparable<GadgetsHandlerApi.UserPrefDataType>
- Enclosing class:
- GadgetsHandlerApi
public static enum GadgetsHandlerApi.UserPrefDataType
- extends Enum<GadgetsHandlerApi.UserPrefDataType>
STRING
public static final GadgetsHandlerApi.UserPrefDataType STRING
HIDDEN
public static final GadgetsHandlerApi.UserPrefDataType HIDDEN
BOOL
public static final GadgetsHandlerApi.UserPrefDataType BOOL
ENUM
public static final GadgetsHandlerApi.UserPrefDataType ENUM
LIST
public static final GadgetsHandlerApi.UserPrefDataType LIST
NUMBER
public static final GadgetsHandlerApi.UserPrefDataType NUMBER
values
public static GadgetsHandlerApi.UserPrefDataType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (GadgetsHandlerApi.UserPrefDataType c : GadgetsHandlerApi.UserPrefDataType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static GadgetsHandlerApi.UserPrefDataType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
Copyright © 2007-2012. All Rights Reserved.