Package | Description |
---|---|
org.eclipse.rdf4j.console |
A command line console tool for querying and updating local or remote RDF4J repositories.
|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
VerificationListener
Listen to parser errors and warnings
|
Modifier and Type | Method and Description |
---|---|
ParseErrorListener |
AbstractQueryResultParser.getParseErrorListener() |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
static Model |
Rio.parse(InputStream in,
String baseURI,
RDFFormat dataFormat,
ParserConfig settings,
ValueFactory valueFactory,
ParseErrorListener errors,
ModelFactory modelFactory,
Resource... contexts)
Adds RDF data from an
InputStream to a Model , 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 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,
ModelFactory modelFactory,
Resource... contexts)
|
static Model |
Rio.parse(Reader reader,
String baseURI,
RDFFormat dataFormat,
ParserConfig settings,
ValueFactory valueFactory,
ParseErrorListener errors,
Resource... contexts)
|
RDFParser |
RDFParser.setParseErrorListener(ParseErrorListener el)
Sets the ParseErrorListener that will be notified of any errors that this parser finds during parsing.
|
Modifier and Type | Class and 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.
|
Modifier and Type | Method and Description |
---|---|
ParseErrorListener |
AbstractRDFParser.getParseErrorListener() |
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.
|
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 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,
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 msg,
ParseErrorListener errListener)
Reports a fatal error to the registered ParseErrorListener, if any, and throws a ParseException
afterwards.
|
RDFParser |
AbstractRDFParser.setParseErrorListener(ParseErrorListener el) |
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.