com.hp.hpl.jena.sparql.lang
Class Parser
java.lang.Object
com.hp.hpl.jena.sparql.lang.Parser
- Direct Known Subclasses:
- ParserARQ, ParserSPARQL10, ParserSPARQL11
public abstract class Parser
- 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.
Parser
public Parser()
parse
public final Query parse(Query query,
String queryString)
throws QueryParseException
- Throws:
QueryParseException
canParse
public static boolean canParse(Syntax syntaxURI)
createParser
public static Parser createParser(Syntax syntaxURI)
Licenced under the Apache License, Version 2.0