Uses of Interface
org.eclipse.rdf4j.rio.ParseErrorListener
-
Packages that use ParseErrorListener Package Description org.eclipse.rdf4j.query.resultio org.eclipse.rdf4j.rio Rio: The RDF4J parser/writer API.org.eclipse.rdf4j.rio.helpers Provides helpers classes for Rio.org.eclipse.rdf4j.rio.jsonld Parser/writer for the JSON-L format. -
-
Uses of ParseErrorListener in org.eclipse.rdf4j.query.resultio
Fields in org.eclipse.rdf4j.query.resultio declared as ParseErrorListener Modifier and Type Field Description private ParseErrorListener
AbstractQueryResultParser. errListener
An optional ParseErrorListener to report parse errors to.Methods in org.eclipse.rdf4j.query.resultio that return ParseErrorListener Modifier and Type Method Description ParseErrorListener
AbstractQueryResultParser. getParseErrorListener()
Methods in org.eclipse.rdf4j.query.resultio with parameters of type ParseErrorListener Modifier and Type Method Description QueryResultParser
AbstractQueryResultParser. setParseErrorListener(ParseErrorListener el)
QueryResultParser
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
Methods in org.eclipse.rdf4j.rio with parameters of type ParseErrorListener Modifier and Type Method Description static Model
Rio. parse(java.io.InputStream in, java.lang.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(java.io.InputStream in, java.lang.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(java.io.Reader reader, java.lang.String baseURI, RDFFormat dataFormat, ParserConfig settings, ValueFactory valueFactory, ParseErrorListener errors, ModelFactory modelFactory, Resource... contexts)
Adds RDF data from aReader
to aModel
, optionally to one or more named contexts.static Model
Rio. parse(java.io.Reader reader, java.lang.String baseURI, RDFFormat dataFormat, ParserConfig settings, ValueFactory valueFactory, ParseErrorListener errors, Resource... contexts)
Adds RDF data from aReader
to aModel
, optionally to one or more named contexts.RDFParser
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
Classes in org.eclipse.rdf4j.rio.helpers that implement ParseErrorListener Modifier and Type Class Description class
ParseErrorCollector
A ParseErrorListener that collects Rio parse errors in the sequence they were collected in.class
ParseErrorLogger
A ParseErrorListener that reports Rio parser errors to the SLf4J Logging framework.Fields in org.eclipse.rdf4j.rio.helpers declared as ParseErrorListener Modifier and Type Field Description private ParseErrorListener
AbstractRDFParser. errListener
An optional ParseErrorListener to report parse errors to.Methods in org.eclipse.rdf4j.rio.helpers that return ParseErrorListener Modifier and Type Method Description ParseErrorListener
AbstractRDFParser. getParseErrorListener()
Methods in org.eclipse.rdf4j.rio.helpers with parameters of type ParseErrorListener Modifier and Type Method Description static Literal
RDFParserHelper. createLiteral(java.lang.String label, java.lang.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(java.lang.String label, java.lang.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(java.lang.Exception e, long lineNo, long columnNo, RioSetting<java.lang.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(java.lang.String msg, long lineNo, long columnNo, RioSetting<java.lang.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(java.lang.String msg, RioSetting<java.lang.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(java.lang.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(java.lang.Exception e, ParseErrorListener errListener)
Reports a fatal error to the registered ParseErrorListener, if any, and throws a ParseException afterwards.static void
RDFParserHelper. reportFatalError(java.lang.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(java.lang.String message, java.lang.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(java.lang.String msg, ParseErrorListener errListener)
Reports a fatal error to the registered ParseErrorListener, if any, and throws a ParseException afterwards.RDFParser
AbstractRDFParser. setParseErrorListener(ParseErrorListener el)
-
Uses of ParseErrorListener in org.eclipse.rdf4j.rio.jsonld
Fields in org.eclipse.rdf4j.rio.jsonld declared as ParseErrorListener Modifier and Type Field Description private ParseErrorListener
JSONLDInternalTripleCallback. parseErrorListener
Methods in org.eclipse.rdf4j.rio.jsonld that return ParseErrorListener Modifier and Type Method Description ParseErrorListener
JSONLDInternalTripleCallback. getParserErrorListener()
Constructors in org.eclipse.rdf4j.rio.jsonld with parameters of type ParseErrorListener Constructor Description JSONLDInternalTripleCallback(RDFHandler nextHandler, ValueFactory vf, ParserConfig parserConfig, ParseErrorListener parseErrorListener, java.util.function.Function<java.lang.String,Resource> namedBNodeCreator, java.util.function.Supplier<Resource> anonymousBNodeCreator)
-