org.jrdf.sparql.parser
Class SableCcSparqlParser
java.lang.Object
org.jrdf.sparql.parser.SableCcSparqlParser
- All Implemented Interfaces:
- SparqlParser
public final class SableCcSparqlParser
- extends Object
- implements SparqlParser
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SableCcSparqlParser
public SableCcSparqlParser(ParserFactory newParserFactory,
GraphRelationFactory newGraphRelationFactory,
SortedAttributeFactory newSortedAttributeFactory)
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.