java.lang.Object
org.apache.jena.sparql.lang.UpdateParser
- Direct Known Subclasses:
ParserARQUpdate
,ParserSPARQL11Update
,ParserSPARQL12Update
This class provides the root of lower level access to all the update parsers.
Each subclass hides the details of the per-language exception handlers and other
javacc details.
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
static UpdateParser
createParser
(Syntax syntaxURI) final void
parse
(UpdateSink sink, Prologue prologue, InputStream input) Parse an input streamvoid
parse
(UpdateSink sink, Prologue prologue, Reader r) Use with care - Reader must be UTF-8final void
parse
(UpdateSink sink, Prologue prologue, String updateString) Parse a string
-
Method Details
-
parse
public final void parse(UpdateSink sink, Prologue prologue, String updateString) throws QueryParseException Parse a string- Throws:
QueryParseException
-
parse
public final void parse(UpdateSink sink, Prologue prologue, InputStream input) throws QueryParseException Parse an input stream- Throws:
QueryParseException
-
parse
Use with care - Reader must be UTF-8 -
canParse
-
createParser
-