public class NQuadsParser extends NTriplesParser
N-Quads
RDF format, extending the Rio N-Triples parser. A
specification of N-Quads can be found here. This parser is not
thread-safe, therefore its public methods are synchronized.RDFParser.DatatypeHandling
Modifier and Type | Field and Description |
---|---|
protected Resource |
context |
currentIndex, lineChars, lineNo, object, predicate, reader, subject
rdfHandler, valueFactory
Constructor and Description |
---|
NQuadsParser() |
NQuadsParser(ValueFactory valueFactory) |
Modifier and Type | Method and Description |
---|---|
RDFFormat |
getRDFFormat()
Gets the RDF format that this parser can parse.
|
protected void |
handleStatement(boolean ignoredAnError) |
protected void |
parseContext() |
protected void |
parseStatement() |
assertLineTerminates, clear, createURI, getSupportedSettings, parse, parse, parseIRI, parseNode, parseObject, parsePredicate, parseSubject, reportError, reportError, reportFatalError, reportFatalError, reportWarning, shouldParseLine, skipWhitespace, throwEOFException
clearBNodeIDMap, createBNode, createBNode, createLiteral, createLiteral, createNode, createNode, createStatement, createStatement, datatypeHandling, getNamespace, getParseErrorListener, getParseLocationListener, getParserConfig, getRDFHandler, initializeNamespaceTableFromConfiguration, preserveBNodeIDs, reportError, reportError, reportError, reportFatalError, reportFatalError, reportFatalError, reportLocation, reportWarning, resolveURI, set, setBaseURI, setBaseURI, setDatatypeHandling, setNamespace, setParseErrorListener, setParseLocationListener, setParserConfig, setPreserveBNodeIDs, setRDFHandler, setStopAtFirstError, setValueFactory, setVerifyData, stopAtFirstError, verifyData
protected Resource context
public NQuadsParser()
public NQuadsParser(ValueFactory valueFactory)
public RDFFormat getRDFFormat()
RDFParser
getRDFFormat
in interface RDFParser
getRDFFormat
in class NTriplesParser
protected void parseStatement() throws RDFParseException, RDFHandlerException
parseStatement
in class NTriplesParser
RDFParseException
RDFHandlerException
protected void parseContext()
protected void handleStatement(boolean ignoredAnError)
handleStatement
in class NTriplesParser
Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.