org.openrdf.sesame.constants
Class QueryLanguage

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

public final class QueryLanguage
extends Enumeration

A type-safe enumeration class for RDF query languages.

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

Field Summary
static QueryLanguage RDQL
          Constant representing the RDQL query language.
static QueryLanguage RQL
          Constant representing the RQL query language.
static QueryLanguage SERQL
          Constant representing the SeRQL query language.
 
Method Summary
static QueryLanguage forValue(String value)
          Returns a QueryLanguage 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

SERQL

public static final QueryLanguage SERQL
Constant representing the SeRQL query language.


RQL

public static final QueryLanguage RQL
Constant representing the RQL query language.


RDQL

public static final QueryLanguage RDQL
Constant representing the RDQL query language.

Method Detail

forValue

public static QueryLanguage forValue(String value)
Returns a QueryLanguage constant for the specified value.

Parameters:
value - The String-representation of a QueryLanguage constant.
Returns:
A QueryLanguage object, or null if the specified value could not be resolved to a QueryLanguage object.


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