org.jrdf.sparql.builder
Interface QueryBuilder

All Known Implementing Classes:
SparqlQueryBuilder

public interface QueryBuilder

Builds queries in String form into Query objects.

Version:
$Id: QueryBuilder.java 982 2006-12-08 08:42:51Z newmana $
Author:
Tom Adams

Method Summary
 Query buildQuery(Graph graph, String queryText)
          Builds a query in String form into a Query.
 

Method Detail

buildQuery

Query buildQuery(Graph graph,
                 String queryText)
                 throws InvalidQuerySyntaxException,
                        GraphException
Builds a query in String form into a Query.

Parameters:
queryText - The query in String form of the query.
Returns:
The queryText in Query form.
Throws:
InvalidQuerySyntaxException - If the syntax of the query is incorrect.
GraphException