org.jrdf.sparql
Class SparqlQueryBuilder
java.lang.Object
org.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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SparqlQueryBuilder
public SparqlQueryBuilder()
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.