| Package | Description |
|---|---|
| org.apache.jena.riot | |
| org.apache.jena.riot.checker | |
| org.apache.jena.riot.lang | |
| org.apache.jena.riot.system | |
| org.apache.jena.riot.tokens |
| Modifier and Type | Method and Description |
|---|---|
RDFParserBuilder |
RDFParserBuilder.errorHandler(ErrorHandler handler)
Set the
ErrorHandler to use. |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
CheckerLiterals.checkLiteral(Node node,
ErrorHandler handler,
long line,
long col) |
static boolean |
CheckerLiterals.checkLiteral(String lexicalForm,
RDFDatatype datatype,
ErrorHandler handler,
long line,
long col) |
static boolean |
CheckerLiterals.checkLiteral(String lexicalForm,
String lang,
ErrorHandler handler,
long line,
long col) |
static boolean |
CheckerLiterals.checkLiteral(String lexicalForm,
String lang,
RDFDatatype datatype,
ErrorHandler handler,
long line,
long col) |
static void |
CheckerIRI.iriViolations(org.apache.jena.iri.IRI iri,
ErrorHandler errorHandler)
Process violations on an IRI
Calls the errorhandler on all errors and warnings (as warning).
|
static void |
CheckerIRI.iriViolations(org.apache.jena.iri.IRI iri,
ErrorHandler errorHandler,
boolean allowRelativeIRIs,
boolean includeIRIwarnings,
long line,
long col)
Process violations on an IRI
Calls the errorhandler on all errors and warnings (as warning).
|
static void |
CheckerIRI.iriViolations(org.apache.jena.iri.IRI iri,
ErrorHandler errorHandler,
long line,
long col)
Process violations on an IRI
Calls the errorhandler on all errors and warnings (as warning).
|
| Constructor and Description |
|---|
CheckerBlankNodes(ErrorHandler handler) |
CheckerIRI(ErrorHandler handler,
org.apache.jena.iri.IRIFactory iriFactory) |
CheckerLiterals(ErrorHandler handler) |
CheckerVar(ErrorHandler handler) |
| Constructor and Description |
|---|
JsonLDReader(Lang lang,
ParserProfile profile,
ErrorHandler errorHandler) |
ReaderRIOTRDFXML(ErrorHandler errorHandler) |
ReaderTriX(ParserProfile profile,
ErrorHandler errorHandler) |
| Modifier and Type | Class and Description |
|---|---|
static class |
ErrorHandlerFactory.ErrorHandlerTracking
An error handler that logs message for errors and warnings and throw exceptions on either
|
| Modifier and Type | Field and Description |
|---|---|
static ErrorHandler |
ErrorHandlerFactory.errorHandlerNoLogging
Silent error handler : ignores warnings, throws exceptions for errors
|
static ErrorHandler |
ErrorHandlerFactory.errorHandlerNoWarnings
Error handler (no warnings) - logs to stdLogger
|
static ErrorHandler |
ErrorHandlerFactory.errorHandlerStd
Standard error handler - logs to stdLogger
|
static ErrorHandler |
ErrorHandlerFactory.errorHandlerStrict
Strict error handler - logs to stdLogger - exceptions for warnings
|
static ErrorHandler |
ErrorHandlerFactory.errorHandlerStrictNoLogging
Silent, strict error handler
|
static ErrorHandler |
ErrorHandlerFactory.errorHandlerWarn
Warning error handler - logs to stdLogger - mesages for warnings and some errors
|
| Modifier and Type | Method and Description |
|---|---|
static ErrorHandler |
ErrorHandlerFactory.errorHandlerDetailed()
An error handler that throws a
RiotParseException, hence it
exposes the details of errors. |
static ErrorHandler |
ErrorHandlerFactory.errorHandlerNoWarnings(org.slf4j.Logger log)
An error handler that logs error and fatal messages, but not warnings
|
static ErrorHandler |
ErrorHandlerFactory.errorHandlerSimple()
Ignores warnings, throws exceptions for errors
|
static ErrorHandler |
ErrorHandlerFactory.errorHandlerStd(org.slf4j.Logger log)
An error handler that logs messages, then throws exceptions for errors but not warnings
|
static ErrorHandler |
ErrorHandlerFactory.errorHandlerStrict(org.slf4j.Logger log)
Strict error handler, with logging
|
static ErrorHandler |
ErrorHandlerFactory.errorHandlerStrictSilent()
Silent, strict error handler, no logging
|
static ErrorHandler |
ErrorHandlerFactory.errorHandlerWarning(org.slf4j.Logger log)
An error handler that logs messages for errors and warnings and attempts to carry on
|
static ErrorHandler |
ErrorHandlerFactory.getDefaultErrorHandler()
Get the current default error handler
|
ErrorHandler |
ParserProfileStd.getErrorHandler() |
ErrorHandler |
ParserProfileWrapper.getErrorHandler() |
ErrorHandler |
ParserProfile.getErrorHandler()
Get the
error handler used by this ParserProfile |
ErrorHandler |
Checker.getHandler() |
| Modifier and Type | Method and Description |
|---|---|
static ParserProfile |
RiotLib.createParserProfile(ErrorHandler errorHandler)
Create a
ParserProfile with default settings, and a specific error handler. |
static ParserProfile |
RiotLib.createParserProfile(FactoryRDF factory,
ErrorHandler errorHandler,
boolean checking)
Create a
ParserProfile with default settings, and a specific error handler. |
static ParserProfile |
RiotLib.createParserProfile(FactoryRDF factory,
ErrorHandler errorHandler,
IRIResolver resolver,
boolean checking)
Create a
ParserProfile. |
static ParserProfile |
RiotLib.profile(Lang lang,
String baseIRI,
ErrorHandler handler) |
static ParserProfile |
RiotLib.profile(String baseIRI,
boolean resolveIRIs,
boolean checking,
ErrorHandler handler)
Deprecated.
To be removed.
|
static void |
ErrorHandlerFactory.setDefaultErrorHandler(ErrorHandler errorHandler)
Set the current default error handler - use carefully, mainly for use in testing
|
void |
Checker.setHandler(ErrorHandler handler) |
| Constructor and Description |
|---|
Checker(ErrorHandler handler) |
ParserProfileStd(FactoryRDF factory,
ErrorHandler errorHandler,
IRIResolver resolver,
PrefixMap prefixMap,
Context context,
boolean checking,
boolean strictMode) |
| Modifier and Type | Method and Description |
|---|---|
ErrorHandler |
TokenizerText.getErrorHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
TokenizerText.setErrorHandler(ErrorHandler handler) |
Licenced under the Apache License, Version 2.0