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 parserFactory,
GraphRelationFactory graphRelationFactory,
AttributeValuePairHelper avpHelper,
SortedAttributeFactory sortedAttributeFactory)
parseQuery
public Query parseQuery(Graph graph,
String queryText)
throws InvalidQuerySyntaxException
- Parses a textual query into a
Query
object.
- Parameters:
queryText
- The textual query to applyAnalyser.
- Returns:
- A query object representing the queryText, will never be
null
.
- Throws:
InvalidQuerySyntaxException
- If the syntax of the query
is incorrect.