|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.uniroma2.art.owlart.query.QueryLanguage
public class QueryLanguage
This class is both a definition class for query languages as well as a static container for languages which can be accepted by a specific RDF triple store technology
Field Summary | |
---|---|
static QueryLanguage |
SPARQL
the SPARQL query language, the standard RDF query language recommended by W3C |
Method Summary | |
---|---|
java.lang.String |
getName()
returns the name of the Query Language |
static QueryLanguage |
parseLanguage(java.lang.String ql)
given a string identifier, returns the query language associated to it in this class registry |
static void |
registerNewLanguage(java.lang.String langName)
this method can be used by developers of new triple store technology adapters for OWL Art API, to register a new query language which can be accepted by their wrapped technology |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final QueryLanguage SPARQL
Method Detail |
---|
public java.lang.String getName()
public static void registerNewLanguage(java.lang.String langName)
langName
- public static QueryLanguage parseLanguage(java.lang.String ql)
ql
-
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |