Uses of Interface
org.eclipse.rdf4j.rio.ParseErrorListener
Package
Description
A command line console tool for querying and updating local or remote RDF4J repositories.
Rio: The RDF4J parser/writer API.
Provides helpers classes for Rio.
-
Uses of ParseErrorListener in org.eclipse.rdf4j.console
-
Uses of ParseErrorListener in org.eclipse.rdf4j.query.resultio
Modifier and TypeMethodDescriptionAbstractQueryResultParser.setParseErrorListener
(ParseErrorListener el) QueryResultParser.setParseErrorListener
(ParseErrorListener el) Sets the ParseErrorListener that will be notified of any errors that this parser finds during parsing. -
Uses of ParseErrorListener in org.eclipse.rdf4j.rio
Modifier and TypeMethodDescriptionstatic 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
(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) RDFParser.setParseErrorListener
(ParseErrorListener el) Sets the ParseErrorListener that will be notified of any errors that this parser finds during parsing. -
Uses of ParseErrorListener in org.eclipse.rdf4j.rio.helpers
Modifier and TypeClassDescriptionclass
A ParseErrorListener that collects Rio parse errors in the sequence they were collected in.class
A ParseErrorListener that reports Rio parser errors to the SLf4J Logging framework.Modifier and TypeMethodDescriptionstatic 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
.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.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.AbstractRDFParser.setParseErrorListener
(ParseErrorListener el)