org.openrdf.sesame.constants
Class AdminResultFormat

java.lang.Object
  extended byorg.openrdf.util.Enumeration
      extended byorg.openrdf.sesame.constants.AdminResultFormat
All Implemented Interfaces:
Serializable

public final class AdminResultFormat
extends Enumeration

A type-safe enumeration class for response formats.

Version:
$Revision: 1.6.4.2 $
Author:
Jeen Broekstra, Arjohn Kampman
See Also:
Serialized Form

Field Summary
static AdminResultFormat HTML
          Constant representing HTML format.
static AdminResultFormat XML
          Constant representing XML format.
 
Method Summary
static AdminResultFormat forValue(String value)
          Returns an AdminResultFormat constant for the specified value.
 
Methods inherited from class org.openrdf.util.Enumeration
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

XML

public static final AdminResultFormat XML
Constant representing XML format.


HTML

public static final AdminResultFormat HTML
Constant representing HTML format.

Method Detail

forValue

public static AdminResultFormat forValue(String value)
Returns an AdminResultFormat constant for the specified value.

Parameters:
value - The String-representation of an AdminResultFormat constant.
Returns:
An AdminResultFormat object, or null if the specified value could not be resolved to an AdminResultFormat object.


Copyright © 2002-2006 Aduna BV, GNU LGPL License applies.