public class SPARQLStarUpdateDataBlockParser
extends org.openrdf.repository.sail.helpers.SPARQLUpdateDataBlockParser
SPARQLUpdateDataBlockParser
that processes data in the format
specified in the SPARQL* grammar. This format is almost completely compatible with
SPARQLUpdateDataBlockParser, except:
Constructor and Description |
---|
SPARQLStarUpdateDataBlockParser(org.openrdf.model.ValueFactory valueFactory)
Creates a new parser that will use the supplied ValueFactory to create RDF
model objects.
|
SPARQLStarUpdateDataBlockParser(org.openrdf.model.ValueFactory valueFactory,
Map<String,String> namespaces)
Creates a new parser that will use the supplied ValueFactory and prefix mapping to create RDF
model objects.
|
Modifier and Type | Method and Description |
---|---|
protected org.openrdf.model.Value |
parseValue() |
protected void |
setBaseURI(String uri)
Overriding setBaseURI to keep base URI value for SPARQL* parsing as
org.openrdf.rio.helpers.RDFParserBase.baseURI is a private field
|
void |
setNamespace(String prefix,
String namespace) |
getRDFFormat, isAllowBlankNodes, parseGraph, parseImplicitBlank, parseNodeID, setAllowBlankNodes
getContext, parseStatement, reportStatement, setContext
getSupportedSettings, parse, parse, parseBase, parseCollection, parseDirective, parseLongString, parseNumber, parseObject, parseObjectList, parsePredicate, parsePredicateObjectList, parsePrefixID, parseQNameOrBoolean, parseQuotedLiteral, parseQuotedString, parseString, parseSubject, parseTriples, parseURI, peek, processComment, read, reportError, reportFatalError, reportFatalError, reportLocation, reportWarning, skipWSC, throwEOFException, unread, unread, verifyCharacterOrFail
clear, clearBNodeIDMap, createBNode, createBNode, createLiteral, createLiteral, createStatement, createStatement, createURI, datatypeHandling, getNamespace, getParseErrorListener, getParseLocationListener, getParserConfig, getRDFHandler, preserveBNodeIDs, reportError, reportError, reportFatalError, reportFatalError, reportLocation, reportWarning, resolveURI, setBaseURI, setDatatypeHandling, setParseErrorListener, setParseLocationListener, setParserConfig, setPreserveBNodeIDs, setRDFHandler, setStopAtFirstError, setValueFactory, setVerifyData, stopAtFirstError, verifyData
public SPARQLStarUpdateDataBlockParser(org.openrdf.model.ValueFactory valueFactory)
valueFactory
- A ValueFactory.public SPARQLStarUpdateDataBlockParser(org.openrdf.model.ValueFactory valueFactory, Map<String,String> namespaces)
valueFactory
- A ValueFactory.namespaces
- Namespaces prefix mapping.protected org.openrdf.model.Value parseValue() throws IOException, org.openrdf.rio.RDFParseException
parseValue
in class org.openrdf.rio.turtle.TurtleParser
IOException
org.openrdf.rio.RDFParseException
protected void setBaseURI(String uri)
setBaseURI
in class org.openrdf.rio.helpers.RDFParserBase
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.