public static enum HypermediaJSONMessageBodyWriter.MediaKey extends java.lang.Enum<HypermediaJSONMessageBodyWriter.MediaKey>
Enum Constant and Description |
---|
LINK_HREF |
LINK_TYPE |
LINKS |
MEMBER_ITEMS |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDefaultName() |
static HypermediaJSONMessageBodyWriter.MediaKey |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HypermediaJSONMessageBodyWriter.MediaKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HypermediaJSONMessageBodyWriter.MediaKey LINKS
public static final HypermediaJSONMessageBodyWriter.MediaKey LINK_HREF
public static final HypermediaJSONMessageBodyWriter.MediaKey LINK_TYPE
public static final HypermediaJSONMessageBodyWriter.MediaKey MEMBER_ITEMS
public static HypermediaJSONMessageBodyWriter.MediaKey[] values()
for (HypermediaJSONMessageBodyWriter.MediaKey c : HypermediaJSONMessageBodyWriter.MediaKey.values()) System.out.println(c);
public static HypermediaJSONMessageBodyWriter.MediaKey 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 nullpublic java.lang.String getDefaultName()