Package mondrian.xmla
Enum Enumeration.ResponseMimeType
- java.lang.Object
-
- java.lang.Enum<Enumeration.ResponseMimeType>
-
- mondrian.xmla.Enumeration.ResponseMimeType
-
- All Implemented Interfaces:
Serializable
,Comparable<Enumeration.ResponseMimeType>
- Enclosing class:
- Enumeration
public static enum Enumeration.ResponseMimeType extends Enum<Enumeration.ResponseMimeType>
-
-
Field Summary
Fields Modifier and Type Field Description static Map<String,Enumeration.ResponseMimeType>
MAP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMimeType()
static Enumeration.ResponseMimeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static Enumeration.ResponseMimeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SOAP
public static final Enumeration.ResponseMimeType SOAP
-
JSON
public static final Enumeration.ResponseMimeType JSON
-
-
Field Detail
-
MAP
public static final Map<String,Enumeration.ResponseMimeType> MAP
-
-
Method Detail
-
values
public static Enumeration.ResponseMimeType[] 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 (Enumeration.ResponseMimeType c : Enumeration.ResponseMimeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Enumeration.ResponseMimeType 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 nameNullPointerException
- if the argument is null
-
getMimeType
public String getMimeType()
-
-