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 java.lang.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.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Parser
public Parser()
parse
public final Query parse(Query query,
java.lang.String queryString)
throws QueryParseException
- Throws:
QueryParseException
canParse
public static boolean canParse(Syntax syntaxURI)
createParser
public static Parser createParser(Syntax syntaxURI)
Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010, 2011 Epimorphics Ltd.