org.apache.lucene.gdata.server
Enum GDataRequest.OutputFormat

java.lang.Object
  extended by java.lang.Enum<GDataRequest.OutputFormat>
      extended by org.apache.lucene.gdata.server.GDataRequest.OutputFormat
All Implemented Interfaces:
Serializable, Comparable<GDataRequest.OutputFormat>
Enclosing class:
GDataRequest

public static enum GDataRequest.OutputFormat
extends Enum<GDataRequest.OutputFormat>

This enum represents the OutputFormat of the GDATA Server

Author:
Simon Willnauer

Enum Constant Summary
ATOM
          Output format ATOM.
HTML
          Output format html if user defined xsl style sheet is present
RSS
          Output format RSS
 
Method Summary
static GDataRequest.OutputFormat valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GDataRequest.OutputFormat[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ATOM

public static final GDataRequest.OutputFormat ATOM
Output format ATOM. ATOM is the default response format.


RSS

public static final GDataRequest.OutputFormat RSS
Output format RSS


HTML

public static final GDataRequest.OutputFormat HTML
Output format html if user defined xsl style sheet is present

Method Detail

values

public static final GDataRequest.OutputFormat[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(GDataRequest.OutputFormat c : GDataRequest.OutputFormat.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static GDataRequest.OutputFormat 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


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.