Uses of Interface
org.apache.jena.riot.system.ErrorHandler
Package
Description
RRX (RIOT RDF/XML) is a set of three RDF/XML parsers.
-
Uses of ErrorHandler in org.apache.jena.riot
Modifier and TypeMethodDescriptionRDFParserBuilder.errorHandler
(ErrorHandler handler) Set theErrorHandler
to use. -
Uses of ErrorHandler in org.apache.jena.riot.lang
ModifierConstructorDescriptionLangJSONLD11
(Lang language, ParserProfile profile, ErrorHandler errorHandler) ReaderTriX
(ParserProfile profile, ErrorHandler errorHandler) -
Uses of ErrorHandler in org.apache.jena.riot.lang.rdfxml
-
Uses of ErrorHandler in org.apache.jena.riot.rowset.rw.rs_json
Modifier and TypeMethodDescriptionstatic RowSetBuffered<RowSetJSONStreaming<?>>
RowSetJSONStreaming.createBuffered
(InputStream in, LabelToNode labelMap, Supplier<DataBag<Binding>> bufferFactory, ValidationSettings validationSettings, ErrorHandler errorHandler) static RowSetJSONStreaming<?>
RowSetJSONStreaming.createUnbuffered
(InputStream in, LabelToNode labelMap, ValidationSettings validationSettings, ErrorHandler errorHandler) -
Uses of ErrorHandler in org.apache.jena.riot.system
Modifier and TypeClassDescriptionstatic class
An error handler that counts errors and warnings.Modifier and TypeFieldDescriptionstatic final ErrorHandler
ErrorHandlerFactory.errorHandlerNoLogging
Silent error handler : ignores warnings, throws exceptions for errorsstatic final ErrorHandler
ErrorHandlerFactory.errorHandlerNoWarnings
Error handler (no warnings) - logs to stdLoggerstatic final ErrorHandler
ErrorHandlerFactory.errorHandlerStd
Standard error handler - logs to stdLoggerstatic final ErrorHandler
ErrorHandlerFactory.errorHandlerStrict
Strict error handler - logs to stdLogger - exceptions for warningsstatic final ErrorHandler
ErrorHandlerFactory.errorHandlerStrictNoLogging
Silent, strict error handlerstatic final ErrorHandler
ErrorHandlerFactory.errorHandlerWarn
Warning error handler - logs to stdLogger - messages for warnings and some errorsModifier and TypeMethodDescriptionstatic ErrorHandler
ErrorHandlerFactory.errorHandlerExceptionOnError()
An error handler that throws aRiotParseException
, hence it exposes the details of errors.static ErrorHandler
ErrorHandlerFactory.errorHandlerExceptions()
An error handler that throws exceptions in all cases.static ErrorHandler
ErrorHandlerFactory.errorHandlerIgnoreWarnings
(org.slf4j.Logger log) An error handler that logs error and fatal messages, but not warningsstatic ErrorHandler
ErrorHandlerFactory.errorHandlerSimple()
Ignores warnings, throws exceptions for errorsstatic ErrorHandler
ErrorHandlerFactory.errorHandlerStd
(org.slf4j.Logger log) An error handler that logs messages, then throws exceptions for errors but not warningsstatic ErrorHandler
ErrorHandlerFactory.errorHandlerStrict
(org.slf4j.Logger log) Strict error handler, with loggingstatic ErrorHandler
ErrorHandlerFactory.errorHandlerStrictSilent()
Silent, strict error handler, no loggingstatic ErrorHandler
ErrorHandlerFactory.errorHandlerWarning
(org.slf4j.Logger log) An error handler that logs messages for errors and warnings and attempts to carry onstatic ErrorHandler
ErrorHandlerFactory.errorHandlerWarnOrExceptions
(org.slf4j.Logger logger) An error handler that logs warnings and throws exceptions on error and fatal.static ErrorHandler
ErrorHandlerFactory.getDefaultErrorHandler()
Get the current default error handlerParserProfile.getErrorHandler()
Get theerror handler
used by thisParserProfile
.ParserProfileStd.getErrorHandler()
ParserProfileWrapper.getErrorHandler()
Modifier and TypeMethodDescriptionstatic boolean
Checker.check
(org.apache.jena.graph.Node node, ErrorHandler errorHandler, long line, long col) A node -- must be a concrete node or a variable.static boolean
Checker.checkBlankNode
(String label, ErrorHandler errorHandler, long line, long col) static boolean
Checker.checkBlankNode
(org.apache.jena.graph.Node node, ErrorHandler errorHandler, long line, long col) static boolean
Checker.checkIRI
(String iriStr, ErrorHandler errorHandler, long line, long col) See alsoIRIs.reference(java.lang.String)
static boolean
Checker.checkIRI
(org.apache.jena.graph.Node node, ErrorHandler errorHandler, long line, long col) static boolean
Checker.checkLiteral
(String lexicalForm, String lang, org.apache.jena.datatypes.RDFDatatype datatype, ErrorHandler errorHandler, long line, long col) static boolean
Checker.checkLiteral
(String lexicalForm, String lang, ErrorHandler errorHandler, long line, long col) static boolean
Checker.checkLiteral
(String lexicalForm, org.apache.jena.datatypes.RDFDatatype datatype, ErrorHandler errorHandler, long line, long col) static boolean
Checker.checkLiteral
(org.apache.jena.graph.Node node, ErrorHandler errorHandler, long line, long col) static boolean
Checker.checkQuad
(org.apache.jena.graph.Node graph, org.apache.jena.graph.Node subject, org.apache.jena.graph.Node predicate, org.apache.jena.graph.Node object, ErrorHandler errorHandler, long line, long col) Check a quad against the RDF rules for a quad : subject is a IRI or bnode, predicate is a IRI and object is an bnode, literal or IRIstatic boolean
Checker.checkQuad
(Quad quad, ErrorHandler errorHandler, long line, long col) Check a quad - assumes individual nodes are legalstatic boolean
Checker.checkTriple
(org.apache.jena.graph.Node subject, org.apache.jena.graph.Node predicate, org.apache.jena.graph.Node object, ErrorHandler errorHandler, long line, long col) Check a triple against the RDF rules for a triple : subject is a IRI or bnode, predicate is a IRI and object is an bnode, literal or IRIstatic boolean
Checker.checkTriple
(org.apache.jena.graph.Triple triple, ErrorHandler errorHandler, long line, long col) Check a triple - assumes individual nodes are legalstatic boolean
Checker.checkVar
(org.apache.jena.graph.Node node, ErrorHandler errorHandler, long line, long col) static ParserProfile
RiotLib.createParserProfile
(FactoryRDF factory, ErrorHandler errorHandler, boolean checking) Create aParserProfile
with default settings, and a specific error handler.static ParserProfile
RiotLib.createParserProfile
(FactoryRDF factory, ErrorHandler errorHandler, org.apache.jena.irix.IRIxResolver resolver, boolean checking) Create aParserProfile
.static void
Checker.iriViolationMessage
(String iriStr, boolean isError, String msg, long line, long col, ErrorHandler errorHandler) Common handling messages about IRIs during parsing whether a violation or an IRIException.static boolean
Checker.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 boolean
Checker.iriViolations
(org.apache.jena.iri.IRI iri, ErrorHandler errorHandler, long line, long col) Process violations on an IRI Calls theErrorHandler
on all errors and warnings (as warnings).static ParserProfile
RiotLib.profile
(Lang lang, String baseIRI, ErrorHandler handler) static void
ErrorHandlerFactory.setDefaultErrorHandler
(ErrorHandler errorHandler) Set the current default error handler - use carefully, mainly for use in testingModifierConstructorDescriptionCDTAwareParserProfile
(FactoryRDF factory, ErrorHandler errorHandler, org.apache.jena.irix.IRIxResolver resolver, PrefixMap prefixMap, Context context, boolean checking, boolean strictMode) ErrorHandlerRecorder
(ErrorHandler other) ParserProfileStd
(FactoryRDF factory, ErrorHandler errorHandler, org.apache.jena.irix.IRIxResolver resolver, PrefixMap prefixMap, Context context, boolean checking, boolean strictMode) -
Uses of ErrorHandler in org.apache.jena.riot.tokens