com.hp.hpl.jena.sparql.lang
Class SPARQLParser
java.lang.Object
com.hp.hpl.jena.sparql.lang.SPARQLParser
- Direct Known Subclasses:
- ParserARQ, ParserSPARQL10, ParserSPARQL11
public abstract class SPARQLParser
- extends Object
This class provides the root of lower level access to all the parsers.
Each subclass hides the details of the per-language exception handlers and other
javacc details to provide a methods that deal with setting up Query objects
and using QueryException exceptions for problems.
SPARQLParser
public SPARQLParser()
parse
public final Query parse(Query query,
String queryString)
throws QueryParseException
- Throws:
QueryParseException
canParse
public static boolean canParse(Syntax syntaxURI)
createParser
public static SPARQLParser createParser(Syntax syntaxURI)
Licenced under the Apache License, Version 2.0