Enum ContentNegotiationType
- java.lang.Object
-
- java.lang.Enum<ContentNegotiationType>
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.reference.ContentNegotiationType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ContentNegotiationType>
,java.lang.constant.Constable
public enum ContentNegotiationType extends java.lang.Enum<ContentNegotiationType>
-
-
Method Summary
Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
RDFTURTLE
public static final ContentNegotiationType RDFTURTLE
-
RDFXML
public static final ContentNegotiationType RDFXML
-
BIBTEX
public static final ContentNegotiationType BIBTEX
-
DATACITE
public static final ContentNegotiationType DATACITE
-
RIS
public static final ContentNegotiationType RIS
-
TEXT
public static final ContentNegotiationType TEXT
-
SCHEMA
public static final ContentNegotiationType SCHEMA
-
-
Method Detail
-
values
public static ContentNegotiationType[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ContentNegotiationType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getType
public java.lang.String getType()
-
getFileEnding
public java.lang.String getFileEnding()
-
-