org.jrdf.sparql
Class SparqlQueryBuilder

java.lang.Object
  extended byorg.jrdf.sparql.SparqlQueryBuilder
All Implemented Interfaces:
QueryBuilder

public class SparqlQueryBuilder
extends Object
implements QueryBuilder

Builds SPARQL queries in String form into Query objects.

Version:
$Revision: 1.1 $
Author:
Tom Adams

Constructor Summary
SparqlQueryBuilder()
           
 
Method Summary
 Query buildQuery(String query)
          Builds a SPQRQL query in String form into a Query.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SparqlQueryBuilder

public SparqlQueryBuilder()
Method Detail

buildQuery

public Query buildQuery(String query)
                 throws InvalidQuerySyntaxException
Builds a SPQRQL query in String form into a Query.

Specified by:
buildQuery in interface QueryBuilder
Parameters:
query - The query in String form of the query.
Returns:
The query in Query form.
Throws:
InvalidQuerySyntaxException - If the syntax of the query is incorrect.