org.jrdf.sparql.parser
Class SableCcSparqlParser

java.lang.Object
  extended by org.jrdf.sparql.parser.SableCcSparqlParser
All Implemented Interfaces:
SparqlParser

public final class SableCcSparqlParser
extends Object
implements SparqlParser


Constructor Summary
SableCcSparqlParser(ParserFactory newParserFactory, GraphRelationFactory newGraphRelationFactory, SortedAttributeFactory newSortedAttributeFactory)
           
 
Method Summary
 Query parseQuery(Graph graph, String queryText)
          Parses a textual query into a Query object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SableCcSparqlParser

public SableCcSparqlParser(ParserFactory newParserFactory,
                           GraphRelationFactory newGraphRelationFactory,
                           SortedAttributeFactory newSortedAttributeFactory)
Method Detail

parseQuery

public Query parseQuery(Graph graph,
                        String queryText)
                 throws InvalidQuerySyntaxException
Parses a textual query into a Query object.

queryText - The textual query to parse.
Returns:
A query object representing the queryText, will never be null.
Throws:
InvalidQuerySyntaxException - If the syntax of the query is incorrect.