mondrian.xmla
Enum Enumeration.ResponseMimeType

java.lang.Object
  extended by java.lang.Enum<Enumeration.ResponseMimeType>
      extended by mondrian.xmla.Enumeration.ResponseMimeType
All Implemented Interfaces:
Serializable, Comparable<Enumeration.ResponseMimeType>
Enclosing class:
Enumeration

public static enum Enumeration.ResponseMimeType
extends Enum<Enumeration.ResponseMimeType>


Enum Constant Summary
JSON
           
SOAP
           
 
Field Summary
static Map<String,Enumeration.ResponseMimeType> MAP
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 name
NullPointerException - if the argument is null

getMimeType

public String getMimeType()

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads