public enum ContentNegotiationType extends java.lang.Enum<ContentNegotiationType>
| Enum Constant and Description |
|---|
BIBTEX |
DATACITE |
RDFTURTLE |
RDFXML |
RIS |
SCHEMA |
TEXT |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFileEnding() |
java.lang.String |
getType() |
static ContentNegotiationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ContentNegotiationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContentNegotiationType RDFTURTLE
public static final ContentNegotiationType RDFXML
public static final ContentNegotiationType BIBTEX
public static final ContentNegotiationType DATACITE
public static final ContentNegotiationType RIS
public static final ContentNegotiationType TEXT
public static final ContentNegotiationType SCHEMA
public static ContentNegotiationType[] values()
for (ContentNegotiationType c : ContentNegotiationType.values()) System.out.println(c);
public static ContentNegotiationType 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 getType()
public java.lang.String getFileEnding()