| Package | Description |
|---|---|
| org.eclipse.rdf4j.rio |
Rio: The RDF4J parser/writer API.
|
| org.eclipse.rdf4j.rio.helpers |
Provides helpers classes for Rio.
|
| Modifier and Type | Method and Description |
|---|---|
ParserConfig |
ParserConfig.addNonFatalError(RioSetting<?> nextNonFatalError)
Add a non-fatal error to the set used by parsers to determine whether they should attempt to recover from a
particular parsing error.
|
ParserConfig |
RDFParser.getParserConfig()
Retrieves the current parser configuration as a single object.
|
<T> ParserConfig |
ParserConfig.set(RioSetting<T> setting,
T value) |
ParserConfig |
ParserConfig.setNonFatalErrors(Set<RioSetting<?>> nonFatalErrors)
This method indicates a list of optional errors that the parser should attempt to recover from.
|
ParserConfig |
ParserConfig.useDefaults() |
| Modifier and Type | Method and Description |
|---|---|
ParserConfig |
AbstractRDFParser.getParserConfig() |
| Modifier and Type | Method and Description |
|---|---|
static org.eclipse.rdf4j.model.Literal |
RDFParserHelper.createLiteral(String label,
String lang,
org.eclipse.rdf4j.model.IRI datatype,
ParserConfig parserConfig,
ParseErrorListener errListener,
org.eclipse.rdf4j.model.ValueFactory valueFactory)
Create a literal using the given parameters, including iterative verification and normalization by any
DatatypeHandler or LanguageHandler implementations that are found in the ParserConfig. |
static org.eclipse.rdf4j.model.Literal |
RDFParserHelper.createLiteral(String label,
String lang,
org.eclipse.rdf4j.model.IRI datatype,
ParserConfig parserConfig,
ParseErrorListener errListener,
org.eclipse.rdf4j.model.ValueFactory valueFactory,
long lineNo,
long columnNo)
Create a literal using the given parameters, including iterative verification and normalization by any
DatatypeHandler or LanguageHandler implementations that are found in the ParserConfig. |
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.
|
RDFParser |
AbstractRDFParser.setParserConfig(ParserConfig config) |
Copyright © 2015-2021 Eclipse Foundation. All Rights Reserved.