public class BigdataTurtleParser
extends org.openrdf.rio.turtle.TurtleParser
This implementation is based on the 2006/01/02 version of the Turtle specification, with slight deviations:
Constructor and Description |
---|
BigdataTurtleParser()
Standalone variant of the parser, should be used only
when connection is not available.
|
Modifier and Type | Method and Description |
---|---|
protected org.openrdf.model.BNode |
parseNodeID()
Parses a blank node ID, e.g.
|
protected org.openrdf.model.Value |
parseSid() |
protected org.openrdf.model.Value |
parseURIOrSid() |
protected org.openrdf.model.Value |
parseValue()
Parses an RDF value.
|
protected int |
skipWS()
Consumes any white space characters (space, tab, line feed, newline) and
comments (#-style) from reader.
|
getRDFFormat, getSupportedSettings, parse, parse, parseBase, parseCollection, parseDirective, parseImplicitBlank, parseLongString, parseNumber, parseObject, parseObjectList, parsePredicate, parsePredicateObjectList, parsePrefixID, parseQNameOrBoolean, parseQuotedLiteral, parseQuotedString, parseStatement, parseString, parseSubject, parseTriples, parseURI, peek, processComment, read, reportError, reportFatalError, reportFatalError, reportLocation, reportStatement, 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, setBaseURI, setDatatypeHandling, setNamespace, setParseErrorListener, setParseLocationListener, setParserConfig, setPreserveBNodeIDs, setRDFHandler, setStopAtFirstError, setValueFactory, setVerifyData, stopAtFirstError, verifyData
public BigdataTurtleParser()
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 org.openrdf.model.Value parseURIOrSid() throws IOException, org.openrdf.rio.RDFParseException
IOException
org.openrdf.rio.RDFParseException
protected org.openrdf.model.Value parseSid() throws IOException, org.openrdf.rio.RDFParseException
IOException
org.openrdf.rio.RDFParseException
protected int skipWS() throws IOException
IOException
protected org.openrdf.model.BNode parseNodeID() throws IOException, org.openrdf.rio.RDFParseException
parseNodeID
in class org.openrdf.rio.turtle.TurtleParser
IOException
org.openrdf.rio.RDFParseException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.