public static enum GadgetsHandlerApi.Location extends Enum<GadgetsHandlerApi.Location>
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static GadgetsHandlerApi.Location |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GadgetsHandlerApi.Location[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GadgetsHandlerApi.Location HEADER
public static final GadgetsHandlerApi.Location URL
public static final GadgetsHandlerApi.Location BODY
public static GadgetsHandlerApi.Location[] values()
for (GadgetsHandlerApi.Location c : GadgetsHandlerApi.Location.values()) System.out.println(c);
public static GadgetsHandlerApi.Location 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 toString()
toString in class Enum<GadgetsHandlerApi.Location>Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.