| Package | Description |
|---|---|
| org.eclipse.rdf4j.http.client | |
| org.eclipse.rdf4j.query.resultio | |
| org.eclipse.rdf4j.repository |
The Repository API: the main API for handling RDF4J repositories.
|
| org.eclipse.rdf4j.repository.base | |
| org.eclipse.rdf4j.repository.util | |
| org.eclipse.rdf4j.rio |
General classes and interfaces for RDF parsers and RDF writers.
|
| org.eclipse.rdf4j.rio.helpers |
Provides helpers classes for Rio.
|
| Modifier and Type | Method and Description |
|---|---|
ParserConfig |
SPARQLProtocolSession.getParserConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
SPARQLProtocolSession.setParserConfig(ParserConfig parserConfig)
Sets the parser configuration used to process HTTP response data.
|
| Modifier and Type | Method and Description |
|---|---|
ParserConfig |
QueryResultParser.getParserConfig()
Retrieves the current parser configuration as a single object.
|
ParserConfig |
AbstractQueryResultParser.getParserConfig() |
| Modifier and Type | Method and Description |
|---|---|
QueryResultParser |
QueryResultParser.setParserConfig(ParserConfig config)
Sets all supplied parser configuration options.
|
QueryResultParser |
AbstractQueryResultParser.setParserConfig(ParserConfig config) |
| Modifier and Type | Method and Description |
|---|---|
ParserConfig |
RepositoryConnection.getParserConfig()
Returns the parser configuration this connection uses for Rio-based operations.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RepositoryConnection.setParserConfig(ParserConfig config)
Set the parser configuration this connection should use for RDFParser-based operations.
|
| Modifier and Type | Method and Description |
|---|---|
ParserConfig |
AbstractRepositoryConnection.getParserConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
RepositoryConnectionWrapper.setParserConfig(ParserConfig parserConfig) |
void |
AbstractRepositoryConnection.setParserConfig(ParserConfig parserConfig) |
| Constructor and Description |
|---|
RDFLoader(ParserConfig config,
ValueFactory vf) |
| 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 |
|---|---|
static Model |
Rio.parse(InputStream in,
String baseURI,
RDFFormat dataFormat,
ParserConfig settings,
ValueFactory valueFactory,
ParseErrorListener errors,
Resource... contexts)
Adds RDF data from an
InputStream to a Model, optionally to one or more named contexts. |
static Model |
Rio.parse(Reader reader,
String baseURI,
RDFFormat dataFormat,
ParserConfig settings,
ValueFactory valueFactory,
ParseErrorListener errors,
Resource... contexts)
|
RDFParser |
RDFParser.setParserConfig(ParserConfig config)
Sets all supplied parser configuration options.
|
| Modifier and Type | Method and Description |
|---|---|
ParserConfig |
AbstractRDFParser.getParserConfig() |
| Modifier and Type | Method and Description |
|---|---|
static 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 any
DatatypeHandler or LanguageHandler implementations that are found in the
ParserConfig. |
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 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-2018 Eclipse Foundation. All Rights Reserved.