Uses of Class
org.eclipse.rdf4j.rio.RDFParseException
Package
Description
The rdf4j SPARQL 1.1 parser.
The Repository API: the main API for accessing rdf databases and SPARQL endpoints.
Abstract base classes and wrappers for the main Repository API interfaces.
A repository wrapper with convenience functions for handling contexts.
Helper and utility classes for the
SailRepository
A
Repository
that serves as a SPARQL endpoint client.Helper classes for working with Repositories.
Rio: The RDF4J parser/writer API.
Parser/writer for the RDF4J binary RDF format.
Parser/writer for the HDT v1.0 format.
Provides helpers classes for Rio.
Parser/writer for the JSON-L format.
Writer for the Notation-3 (N3) format.
Copyright (c) 2021 Eclipse RDF4J contributors.
Parser/writer for the N-Quads format.
Parser/writer for the N-Triples format.
Parser/writer for the RDF/JSON format.
Parser/writer for the RDF/XML format.
Parser/writer for the TriG format.
Parser/writer for the TriX format.
Parser/writer for the Turtle format.
Rdf4j-Spring OperationLog
Rdf4j-Spring ResultCache
Rdf4J-Spring Tx
A SPARQL test suite for RDF4J repositories
-
Uses of RDFParseException in org.eclipse.rdf4j.http.client
Modifier and TypeMethodDescriptionvoid
RDF4JProtocolSession.addData
(InputStream contents, String baseURI, RDFFormat dataFormat, Resource... contexts) void
RDF4JProtocolSession.removeData
(InputStream contents, String baseURI, RDFFormat dataFormat, Resource... contexts) protected void
RDF4JProtocolSession.upload
(InputStream contents, String baseURI, RDFFormat dataFormat, boolean overwrite, boolean preserveNodeIds, Protocol.Action action, Resource... contexts) void
RDF4JProtocolSession.upload
(InputStream contents, String baseURI, RDFFormat dataFormat, boolean overwrite, boolean preserveNodeIds, Resource... contexts) protected void
RDF4JProtocolSession.upload
(Reader contents, String baseURI, RDFFormat dataFormat, boolean overwrite, boolean preserveNodeIds, Protocol.Action action, Resource... contexts) void
RDF4JProtocolSession.upload
(Reader contents, String baseURI, RDFFormat dataFormat, boolean overwrite, boolean preserveNodeIds, Resource... contexts) protected void
RDF4JProtocolSession.upload
(org.apache.http.HttpEntity reqEntity, String baseURI, boolean overwrite, boolean preserveNodeIds, Protocol.Action action, Resource... contexts) -
Uses of RDFParseException in org.eclipse.rdf4j.query.parser.sparql
Modifier and TypeMethodDescriptionprotected void
SPARQLUpdateDataBlockParser.parseGraph()
protected Resource
SPARQLUpdateDataBlockParser.parseImplicitBlank()
protected Resource
SPARQLUpdateDataBlockParser.parseNodeID()
-
Uses of RDFParseException in org.eclipse.rdf4j.repository
Modifier and TypeMethodDescriptionvoid
Adds RDF data from the specified file to a specific contexts in the repository.default void
Adds RDF data from the specified file to a specific contexts in the repository.default void
Adds RDF data from the specified file to a specific contexts in the repository.void
RepositoryConnection.add
(InputStream in, String baseURI, RDFFormat dataFormat, Resource... contexts) Adds RDF data from an InputStream to the repository, optionally to one or more named contexts.default void
RepositoryConnection.add
(InputStream in, RDFFormat dataFormat, Resource... contexts) Adds RDF data from an InputStream to the repository, optionally to one or more named contexts.void
Adds RDF data from a Reader to the repository, optionally to one or more named contexts.default void
Adds RDF data from a Reader to the repository, optionally to one or more named contexts.void
Adds the RDF data that can be found at the specified URL to the repository, optionally to one or more named contexts.default void
Adds the RDF data that can be found at the specified URL to the repository, optionally to one or more named contexts.default void
Adds the RDF data that can be found at the specified URL to the repository, optionally to one or more named contexts. -
Uses of RDFParseException in org.eclipse.rdf4j.repository.base
Modifier and TypeMethodDescriptionvoid
AbstractRepositoryConnection.add
(File file, String baseURI, RDFFormat dataFormat, Resource... contexts) void
AbstractRepositoryConnection.add
(InputStream in, String baseURI, RDFFormat dataFormat, Resource... contexts) void
AbstractRepositoryConnection.add
(Reader reader, String baseURI, RDFFormat dataFormat, Resource... contexts) void
AbstractRepositoryConnection.add
(URL url, String baseURI, RDFFormat dataFormat, Resource... contexts) void
RepositoryConnectionWrapper.add
(File file, String baseURI, RDFFormat dataFormat, Resource... contexts) void
RepositoryConnectionWrapper.add
(InputStream in, String baseURI, RDFFormat dataFormat, Resource... contexts) void
RepositoryConnectionWrapper.add
(Reader reader, String baseURI, RDFFormat dataFormat, Resource... contexts) void
RepositoryConnectionWrapper.add
(URL url, String baseURI, RDFFormat dataFormat, Resource... contexts) -
Uses of RDFParseException in org.eclipse.rdf4j.repository.contextaware
Modifier and TypeMethodDescriptionvoid
void
void
ContextAwareConnection.add
(InputStream in, String baseURI, RDFFormat dataFormat, Resource... contexts) void
ContextAwareConnection.add
(InputStream in, RDFFormat dataFormat, Resource... contexts) void
ContextAwareConnection.add
(Reader reader, String baseURI, RDFFormat dataFormat, Resource... contexts) void
void
void
-
Uses of RDFParseException in org.eclipse.rdf4j.repository.sail.helpers
Modifier and TypeMethodDescriptionprotected void
SailUpdateExecutor.executeLoad
(Load load, UpdateContext uc) void
SailUpdateExecutor.executeUpdate
(UpdateExpr updateExpr, Dataset dataset, BindingSet bindings, boolean includeInferred, int maxExecutionTime) -
Uses of RDFParseException in org.eclipse.rdf4j.repository.sparql
Modifier and TypeMethodDescriptionvoid
void
SPARQLConnection.add
(InputStream in, String baseURI, RDFFormat dataFormat, Resource... contexts) void
void
-
Uses of RDFParseException in org.eclipse.rdf4j.repository.util
Modifier and TypeMethodDescriptionvoid
RDFLoader.load
(File file, String baseURI, RDFFormat dataFormat, RDFHandler rdfHandler) Parses RDF data from the specified file to the given RDFHandler.void
RDFLoader.load
(InputStream in, String baseURI, RDFFormat dataFormat, RDFHandler rdfHandler) Parses RDF data from an InputStream to the RDFHandler.void
RDFLoader.load
(Reader reader, String baseURI, RDFFormat dataFormat, RDFHandler rdfHandler) Parses RDF data from a Reader to the RDFHandler.void
RDFLoader.load
(URL url, String baseURI, RDFFormat dataFormat, RDFHandler rdfHandler) Parses the RDF data that can be found at the specified URL to the RDFHandler. -
Uses of RDFParseException in org.eclipse.rdf4j.rio
Modifier and TypeMethodDescriptionstatic void
default void
RDFParser.parse
(InputStream in) Parses the data from the supplied InputStream.void
RDFParser.parse
(InputStream in, String baseURI) Parses the data from the supplied InputStream, using the supplied baseURI to resolve any relative URI references.default void
Parses the data from the supplied Reader.void
Parses the data from the supplied Reader, using the supplied baseURI to resolve any relative URI references.static Model
Rio.parse
(InputStream in, String baseURI, RDFFormat dataFormat, Resource... contexts) Adds RDF data from anInputStream
to aModel
, optionally to one or more named contexts.static Model
Rio.parse
(InputStream in, String baseURI, RDFFormat dataFormat, ParserConfig settings, Resource... contexts) Adds RDF data from anInputStream
to aModel
, optionally to one or more named contexts.static Model
Rio.parse
(InputStream in, String baseURI, RDFFormat dataFormat, ParserConfig settings, ValueFactory valueFactory, ParseErrorListener errors, ModelFactory modelFactory, Resource... contexts) Adds RDF data from anInputStream
to aModel
, optionally to one or more named contexts.static Model
Rio.parse
(InputStream in, String baseURI, RDFFormat dataFormat, ParserConfig settings, ValueFactory valueFactory, ParseErrorListener errors, Resource... contexts) Adds RDF data from anInputStream
to aModel
, optionally to one or more named contexts.static Model
Rio.parse
(InputStream in, RDFFormat dataFormat, Resource... contexts) Adds RDF data from anInputStream
to aModel
, optionally to one or more named contexts.static Model
Rio.parse
(InputStream in, RDFFormat dataFormat, ParserConfig settings, Resource... contexts) Adds RDF data from anInputStream
to aModel
, optionally to one or more named contexts.static Model
static Model
Rio.parse
(Reader reader, String baseURI, RDFFormat dataFormat, ParserConfig settings, ValueFactory valueFactory, ParseErrorListener errors, ModelFactory modelFactory, Resource... contexts) static Model
Rio.parse
(Reader reader, String baseURI, RDFFormat dataFormat, ParserConfig settings, ValueFactory valueFactory, ParseErrorListener errors, Resource... contexts) static Model
static Model
Rio.parse
(Reader reader, RDFFormat dataFormat, ParserConfig settings, Resource... contexts) -
Uses of RDFParseException in org.eclipse.rdf4j.rio.binary
-
Uses of RDFParseException in org.eclipse.rdf4j.rio.hdt
-
Uses of RDFParseException in org.eclipse.rdf4j.rio.helpers
Modifier and TypeMethodDescriptionprotected BNode
AbstractRDFParser.createBNode()
Deprecated.protected BNode
AbstractRDFParser.createBNode
(String nodeID) Deprecated.protected Literal
AbstractRDFParser.createLiteral
(String label, String lang, IRI datatype) Creates aLiteral
object with the supplied parameters.protected Literal
AbstractRDFParser.createLiteral
(String label, String lang, IRI datatype, long lineNo, long columnNo) Creates aLiteral
object with the supplied parameters, using the lineNo and columnNo to enhance error messages or exceptions that may be generated during the creation of the literal.static final Literal
RDFParserHelper.createLiteral
(String label, String lang, IRI datatype, ParserConfig parserConfig, ParseErrorListener errListener, ValueFactory valueFactory) Create a literal using the given parameters, including iterative verification and normalization by anyDatatypeHandler
orLanguageHandler
implementations that are found in theParserConfig
.static Literal
RDFParserHelper.createLiteral
(String label, String lang, IRI datatype, ParserConfig parserConfig, ParseErrorListener errListener, ValueFactory valueFactory, long lineNo, long columnNo) Create a literal using the given parameters, including iterative verification and normalization by anyDatatypeHandler
orLanguageHandler
implementations that are found in theParserConfig
.protected Resource
AbstractRDFParser.createNode()
protected Resource
AbstractRDFParser.createNode
(String nodeID) protected Statement
AbstractRDFParser.createStatement
(Resource subj, IRI pred, Value obj) Creates a newStatement
object with the supplied components.protected Statement
AbstractRDFParser.createStatement
(Resource subj, IRI pred, Value obj, Resource context) Creates a newStatement
object with the supplied components.protected IRI
Creates aIRI
object for the specified URI-string.protected String
AbstractRDFParser.getNamespace
(String prefix) Gets the namespace that is associated with the specified prefix or throws anRDFParseException
.protected void
AbstractRDFParser.reportError
(Exception e, long lineNo, long columnNo, RioSetting<Boolean> relevantSetting) Reports an error with associated line- and column number to the registered ParseErrorListener, if the given setting has been set to true.protected void
AbstractRDFParser.reportError
(Exception e, RioSetting<Boolean> relevantSetting) Reports an error with associated line- and column number to the registered ParseErrorListener, if the given setting has been set to true.protected void
AbstractRDFParser.reportError
(String msg, long lineNo, long columnNo, RioSetting<Boolean> relevantSetting) Reports an error with associated line- and column number to the registered ParseErrorListener, if the given setting has been set to true.protected void
AbstractRDFParser.reportError
(String msg, Exception e, long lineNo, long columnNo, RioSetting<Boolean> relevantSetting) Reports an error with associated line- and column number to the registered ParseErrorListener, if the given setting has been set to true.protected void
AbstractRDFParser.reportError
(String msg, RioSetting<Boolean> relevantSetting) Reports an error with associated line- and column number to the registered ParseErrorListener, if the given setting has been set to true.static void
RDFParserHelper.reportError
(Exception e, long lineNo, long columnNo, RioSetting<Boolean> relevantSetting, ParserConfig parserConfig, ParseErrorListener errListener) Reports an error with associated line- and column number to the registered ParseErrorListener, if the given setting has been set to true.static void
RDFParserHelper.reportError
(String msg, long lineNo, long columnNo, RioSetting<Boolean> relevantSetting, ParserConfig parserConfig, ParseErrorListener errListener) Reports an error with associated line- and column number to the registered ParseErrorListener, if the given setting has been set to true.static void
RDFParserHelper.reportError
(String msg, RioSetting<Boolean> relevantSetting, ParserConfig parserConfig, ParseErrorListener errListener) Reports an error with associated line- and column number to the registered ParseErrorListener, if the given setting has been set to true.protected void
AbstractRDFParser.reportFatalError
(Exception e) Reports a fatal error to the registered ParseErrorListener, if any, and throws a ParseException afterwards.protected void
AbstractRDFParser.reportFatalError
(Exception e, long lineNo, long columnNo) Reports a fatal error with associated line- and column number to the registered ParseErrorListener, if any, and throws a ParseException wrapped the supplied exception afterwards.protected void
AbstractRDFParser.reportFatalError
(String msg) Reports a fatal error to the registered ParseErrorListener, if any, and throws a ParseException afterwards.protected void
AbstractRDFParser.reportFatalError
(String msg, long lineNo, long columnNo) Reports a fatal error with associated line- and column number to the registered ParseErrorListener, if any, and throws a ParseException afterwards.protected void
AbstractRDFParser.reportFatalError
(String message, Exception e, long lineNo, long columnNo) Reports a fatal error with associated line- and column number to the registered ParseErrorListener, if any, and throws a ParseException wrapped the supplied exception afterwards.static void
RDFParserHelper.reportFatalError
(Exception e, long lineNo, long columnNo, ParseErrorListener errListener) Reports a fatal error with associated line- and column number to the registered ParseErrorListener, if any, and throws a ParseException wrapped the supplied exception afterwards.static void
RDFParserHelper.reportFatalError
(Exception e, ParseErrorListener errListener) Reports a fatal error to the registered ParseErrorListener, if any, and throws a ParseException afterwards.static void
RDFParserHelper.reportFatalError
(String msg, long lineNo, long columnNo, ParseErrorListener errListener) Reports a fatal error with associated line- and column number to the registered ParseErrorListener, if any, and throws a ParseException afterwards.static void
RDFParserHelper.reportFatalError
(String message, Exception e, long lineNo, long columnNo, ParseErrorListener errListener) Reports a fatal error with associated line- and column number to the registered ParseErrorListener, if any, and throws a ParseException wrapped the supplied exception afterwards.static void
RDFParserHelper.reportFatalError
(String msg, ParseErrorListener errListener) Reports a fatal error to the registered ParseErrorListener, if any, and throws a ParseException afterwards.protected IRI
AbstractRDFParser.resolveURI
(String uriSpec) Resolves a URI-string against the base URI and creates aIRI
object for it. -
Uses of RDFParseException in org.eclipse.rdf4j.rio.jsonld
-
Uses of RDFParseException in org.eclipse.rdf4j.rio.n3
-
Uses of RDFParseException in org.eclipse.rdf4j.rio.ndjsonld
-
Uses of RDFParseException in org.eclipse.rdf4j.rio.nquads
-
Uses of RDFParseException in org.eclipse.rdf4j.rio.ntriples
Modifier and TypeMethodDescriptionprotected void
NTriplesParser.assertLineTerminates()
Verifies that there is only whitespace or comments until the end of the line.protected IRI
void
NTriplesParser.parse
(InputStream in, String baseURI) void
protected void
NTriplesParser.parseStatement()
protected void
NTriplesParser.reportError
(Exception e, RioSetting<Boolean> setting) protected void
NTriplesParser.reportError
(String msg, RioSetting<Boolean> setting) OverridesAbstractRDFParser.reportError(String, RioSetting)
, adding line number information to the error.protected void
NTriplesParser.reportFatalError
(Exception e) OverridesAbstractRDFParser.reportFatalError(Exception)
, adding line number information to the error.protected void
NTriplesParser.reportFatalError
(String msg) OverridesAbstractRDFParser.reportFatalError(String)
, adding line number information to the error.protected void
NTriplesParser.throwEOFException()
-
Uses of RDFParseException in org.eclipse.rdf4j.rio.rdfjson
Modifier and TypeMethodDescriptionprotected Literal
RDFJSONParser.createLiteral
(String label, String language, IRI datatype, com.fasterxml.jackson.core.JsonLocation currentLocation) Creates a literal, using the current value, language, and datatype, and additionally using the givenJsonLocation
to provide information about the line and column numbers in the event of a warning, error or exception being generated by the creation of the literal.void
RDFJSONParser.parse
(InputStream inputStream, String baseUri) void
protected void
RDFJSONParser.reportError
(String msg, com.fasterxml.jackson.core.JsonLocation location, RioSetting<Boolean> setting) protected void
RDFJSONParser.reportError
(String msg, Exception e, com.fasterxml.jackson.core.JsonLocation location, RioSetting<Boolean> setting) protected void
RDFJSONParser.reportFatalError
(String msg, com.fasterxml.jackson.core.JsonLocation location) protected void
RDFJSONParser.reportFatalError
(String msg, Exception e, com.fasterxml.jackson.core.JsonLocation location) -
Uses of RDFParseException in org.eclipse.rdf4j.rio.rdfxml
Modifier and TypeMethodDescriptionprotected Literal
RDFXMLParser.createLiteral
(String label, String lang, IRI datatype) protected Resource
RDFXMLParser.createNode
(String nodeID) void
RDFXMLParser.parse
(InputStream in, String baseURI) void
protected void
RDFXMLParser.reportError
(Exception e, RioSetting<Boolean> setting) OverridesAbstractRDFParser.reportError(String, RioSetting)
, adding line- and column number information to the error.protected void
RDFXMLParser.reportError
(String msg, RioSetting<Boolean> setting) OverridesAbstractRDFParser.reportError(String, RioSetting)
, adding line- and column number information to the error.protected void
RDFXMLParser.reportFatalError
(Exception e) OverridesAbstractRDFParser.reportFatalError(Exception)
, adding line- and column number information to the error.protected void
RDFXMLParser.reportFatalError
(String msg) OverridesAbstractRDFParser.reportFatalError(String)
, adding line- and column number information to the error. -
Uses of RDFParseException in org.eclipse.rdf4j.rio.trig
Modifier and TypeMethodDescriptionprotected void
TriGParser.parseGraph()
protected void
TriGParser.parseStatement()
protected void
TriGParser.parseTriples()
protected void
TriGParser.reportStatement
(Resource subj, IRI pred, Value obj) -
Uses of RDFParseException in org.eclipse.rdf4j.rio.trigstar
-
Uses of RDFParseException in org.eclipse.rdf4j.rio.trix
Modifier and TypeMethodDescriptionprotected Literal
TriXParser.createLiteral
(String label, String lang, IRI datatype) void
TriXParser.parse
(InputStream in, String baseURI) void
protected void
TriXParser.reportError
(String msg, RioSetting<Boolean> setting) OverridesAbstractRDFParser.reportError(String, RioSetting)
, adding line- and column number information to the error.protected void
TriXParser.reportFatalError
(Exception e) OverridesAbstractRDFParser.reportFatalError(Exception)
, adding line- and column number information to the error.protected void
TriXParser.reportFatalError
(String msg) OverridesAbstractRDFParser.reportFatalError(String)
, adding line- and column number information to the error. -
Uses of RDFParseException in org.eclipse.rdf4j.rio.turtle
Modifier and TypeMethodDescriptionvoid
TurtleParser.parse
(InputStream in, String baseURI) void
protected void
TurtleParser.parseBase()
protected Resource
TurtleParser.parseCollection()
Parses a collection, e.g.protected void
TurtleParser.parseDirective
(String directive) protected Resource
TurtleParser.parseImplicitBlank()
Parses an implicit blank node.protected String
TurtleParser.parseLongString
(int closingCharacter) Parses a """long string""".protected Resource
TurtleParser.parseNodeID()
Parses a blank node ID, e.g.protected Literal
TurtleParser.parseNumber()
protected void
TurtleParser.parseObject()
Parse an objectprotected void
TurtleParser.parseObjectList()
protected IRI
TurtleParser.parsePredicate()
protected void
TurtleParser.parsePredicateObjectList()
protected void
TurtleParser.parsePrefixID()
protected Value
TurtleParser.parseQNameOrBoolean()
Parses qnames and boolean values, which have equivalent starting characters.protected Literal
TurtleParser.parseQuotedLiteral()
Parses a quoted string, optionally followed by a language tag or datatype.protected String
TurtleParser.parseQuotedString()
Parses a quoted string, which is either a "normal string" or a """long string""".protected void
TurtleParser.parseStatement()
protected String
TurtleParser.parseString
(int closingCharacter) Parses a "normal string".protected void
TurtleParser.parseSubject()
protected void
TurtleParser.parseTriples()
protected IRI
TurtleParser.parseURI()
protected Value
TurtleParser.parseValue()
Parses an RDF value.protected void
TurtleParser.reportError
(String msg, RioSetting<Boolean> setting) OverridesAbstractRDFParser.reportError(String, RioSetting)
, adding line number information to the error.protected void
TurtleParser.reportFatalError
(Exception e) OverridesAbstractRDFParser.reportFatalError(Exception)
, adding line number information to the error.protected void
TurtleParser.reportFatalError
(String msg) OverridesAbstractRDFParser.reportFatalError(String)
, adding line number information to the error.protected void
TurtleParser.reportStatement
(Resource subj, IRI pred, Value obj) protected void
TurtleParser.throwEOFException()
protected void
TurtleParser.verifyCharacterOrFail
(int codePoint, String expected) Verifies that the supplied character code point codePoint is one of the expected characters specified in expected. -
Uses of RDFParseException in org.eclipse.rdf4j.rio.turtlestar
-
Uses of RDFParseException in org.eclipse.rdf4j.spring.operationlog
Modifier and TypeMethodDescriptionvoid
LoggingRepositoryConnection.add
(File file, String baseURI, RDFFormat dataFormat, Resource... contexts) void
LoggingRepositoryConnection.add
(InputStream in, String baseURI, RDFFormat dataFormat, Resource... contexts) void
LoggingRepositoryConnection.add
(Reader reader, String baseURI, RDFFormat dataFormat, Resource... contexts) void
LoggingRepositoryConnection.add
(URL url, String baseURI, RDFFormat dataFormat, Resource... contexts) -
Uses of RDFParseException in org.eclipse.rdf4j.spring.resultcache
Modifier and TypeMethodDescriptionvoid
CachingRepositoryConnection.add
(File file, String baseURI, RDFFormat dataFormat, Resource... contexts) void
CachingRepositoryConnection.add
(InputStream in, String baseURI, RDFFormat dataFormat, Resource... contexts) void
CachingRepositoryConnection.add
(Reader reader, String baseURI, RDFFormat dataFormat, Resource... contexts) void
CachingRepositoryConnection.add
(URL url, String baseURI, RDFFormat dataFormat, Resource... contexts) -
Uses of RDFParseException in org.eclipse.rdf4j.spring.tx
Modifier and TypeMethodDescriptionvoid
TransactionalRepositoryConnection.add
(File file, String baseURI, RDFFormat dataFormat, Resource... contexts) void
void
void
TransactionalRepositoryConnection.add
(InputStream in, String baseURI, RDFFormat dataFormat, Resource... contexts) void
TransactionalRepositoryConnection.add
(InputStream in, RDFFormat dataFormat, Resource... contexts) void
TransactionalRepositoryConnection.add
(Reader reader, String baseURI, RDFFormat dataFormat, Resource... contexts) void
void
TransactionalRepositoryConnection.add
(URL url, String baseURI, RDFFormat dataFormat, Resource... contexts) void
void
-
Uses of RDFParseException in org.eclipse.rdf4j.testsuite.query.parser.sparql
Modifier and TypeMethodDescriptionprotected void
SPARQLUpdateTest.loadDataset
(String datasetFile) protected void
ComplexSPARQLQueryTest.loadTestData
(String dataFile, Resource... contexts) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of RDFParseException in org.eclipse.rdf4j.testsuite.sparql
Modifier and TypeMethodDescriptionprotected void
AbstractComplianceTest.loadTestData
(String dataFile, Resource... contexts)