| java.lang.Object org.openrdf.query.QueryLanguage
QueryLanguage | public class QueryLanguage (Code) | | A type-safe enumeration for RDF query languages. QueryLanguage objects are
identified by their name, which is treated in as case-insensitive way.
|
Constructor Summary | |
public | QueryLanguage(String name) Creates a new QueryLanguage object.
Parameters: name - The (case-insensitive) name of the query language, e.g. |
QueryLanguage | public QueryLanguage(String name)(Code) | | Creates a new QueryLanguage object.
Parameters: name - The (case-insensitive) name of the query language, e.g. "SPARQL". |
getName | public String getName()(Code) | | Gets the name of this query language.
A human-readable format name, e.g. "SPARQL". |
hashCode | public int hashCode()(Code) | | |
register | public static QueryLanguage register(String name)(Code) | | Registers the specified query language.
Parameters: name - The name of the query language, e.g. "SPARQL". |
register | public static void register(QueryLanguage ql)(Code) | | Registers the specified query language.
|
valueOf | public static QueryLanguage valueOf(String qlName)(Code) | | Returns the query language whose name matches the specified name.
Parameters: qlName - A query language name. The query language whose name matches the specified name, ornull if there is no such query language. |
|
|