com.hp.hpl.jena.sparql.lang
Class UpdateParser

java.lang.Object
  extended by com.hp.hpl.jena.sparql.lang.UpdateParser
Direct Known Subclasses:
ParserARQUpdate, ParserSPARQL11Update

public abstract class UpdateParser
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.


Constructor Summary
UpdateParser()
           
 
Method Summary
static boolean canParse(Syntax syntaxURI)
           
static UpdateParser createParser(Syntax syntaxURI)
           
 UpdateRequest parse(UpdateRequest request, InputStream input)
           
 UpdateRequest parse(UpdateRequest request, String updateString)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateParser

public UpdateParser()
Method Detail

parse

public final UpdateRequest parse(UpdateRequest request,
                                 String updateString)
                          throws QueryParseException
Throws:
QueryParseException

parse

public UpdateRequest parse(UpdateRequest request,
                           InputStream input)
                    throws QueryParseException
Throws:
QueryParseException

canParse

public static boolean canParse(Syntax syntaxURI)

createParser

public static UpdateParser createParser(Syntax syntaxURI)


Licenced under the Apache License, Version 2.0