Uses of Interface
org.apache.jena.riot.system.ErrorHandler
-
Packages that use ErrorHandler Package Description org.apache.jena.riot org.apache.jena.riot.lang org.apache.jena.riot.system org.apache.jena.riot.tokens -
-
Uses of ErrorHandler in org.apache.jena.riot
Methods in org.apache.jena.riot with parameters of type ErrorHandler Modifier and Type Method Description RDFParserBuilderRDFParserBuilder. errorHandler(ErrorHandler handler)Set theErrorHandlerto use. -
Uses of ErrorHandler in org.apache.jena.riot.lang
Constructors in org.apache.jena.riot.lang with parameters of type ErrorHandler Constructor Description JsonLDReader(Lang lang, ParserProfile profile, ErrorHandler errorHandler)ReaderRIOTRDFXML(ErrorHandler errorHandler)ReaderTriX(ParserProfile profile, ErrorHandler errorHandler) -
Uses of ErrorHandler in org.apache.jena.riot.system
Classes in org.apache.jena.riot.system that implement ErrorHandler Modifier and Type Class Description static classErrorHandlerFactory.ErrorHandlerTrackingAn error handler that logs message for errors and warnings and throw exceptions on eitherFields in org.apache.jena.riot.system declared as ErrorHandler Modifier and Type Field Description static ErrorHandlerErrorHandlerFactory. errorHandlerNoLoggingSilent error handler : ignores warnings, throws exceptions for errorsstatic ErrorHandlerErrorHandlerFactory. errorHandlerNoWarningsError handler (no warnings) - logs to stdLoggerstatic ErrorHandlerErrorHandlerFactory. errorHandlerStdStandard error handler - logs to stdLoggerstatic ErrorHandlerErrorHandlerFactory. errorHandlerStrictStrict error handler - logs to stdLogger - exceptions for warningsstatic ErrorHandlerErrorHandlerFactory. errorHandlerStrictNoLoggingSilent, strict error handlerstatic ErrorHandlerErrorHandlerFactory. errorHandlerWarnWarning error handler - logs to stdLogger - messages for warnings and some errorsMethods in org.apache.jena.riot.system that return ErrorHandler Modifier and Type Method Description static ErrorHandlerErrorHandlerFactory. errorHandlerDetailed()An error handler that throws aRiotParseException, hence it exposes the details of errors.static ErrorHandlerErrorHandlerFactory. errorHandlerExceptions()An error handler that throws exceptions in all cases.static ErrorHandlerErrorHandlerFactory. errorHandlerNoWarnings(org.slf4j.Logger log)An error handler that logs error and fatal messages, but not warningsstatic ErrorHandlerErrorHandlerFactory. errorHandlerSimple()Ignores warnings, throws exceptions for errorsstatic ErrorHandlerErrorHandlerFactory. errorHandlerStd(org.slf4j.Logger log)An error handler that logs messages, then throws exceptions for errors but not warningsstatic ErrorHandlerErrorHandlerFactory. errorHandlerStrict(org.slf4j.Logger log)Strict error handler, with loggingstatic ErrorHandlerErrorHandlerFactory. errorHandlerStrictSilent()Silent, strict error handler, no loggingstatic ErrorHandlerErrorHandlerFactory. errorHandlerWarning(org.slf4j.Logger log)An error handler that logs messages for errors and warnings and attempts to carry onstatic ErrorHandlerErrorHandlerFactory. getDefaultErrorHandler()Get the current default error handlerErrorHandlerParserProfile. getErrorHandler()Get theerror handlerused by thisParserProfileErrorHandlerParserProfileStd. getErrorHandler()ErrorHandlerParserProfileWrapper. getErrorHandler()Methods in org.apache.jena.riot.system with parameters of type ErrorHandler Modifier and Type Method Description static booleanChecker. check(Node node, ErrorHandler errorHandler, long line, long col)A node -- must be a concrete node or a variable.static booleanChecker. checkBlankNode(java.lang.String label, ErrorHandler errorHandler, long line, long col)static booleanChecker. checkBlankNode(Node node, ErrorHandler errorHandler, long line, long col)static booleanChecker. checkIRI(java.lang.String iriStr, ErrorHandler errorHandler, long line, long col)See alsoIRIs.reference(java.lang.String)static booleanChecker. checkIRI(Node node, ErrorHandler errorHandler, long line, long col)static booleanChecker. checkLiteral(java.lang.String lexicalForm, java.lang.String lang, RDFDatatype datatype, ErrorHandler errorHandler, long line, long col)static booleanChecker. checkLiteral(java.lang.String lexicalForm, java.lang.String lang, ErrorHandler errorHandler, long line, long col)static booleanChecker. checkLiteral(java.lang.String lexicalForm, RDFDatatype datatype, ErrorHandler errorHandler, long line, long col)static booleanChecker. checkLiteral(Node node, ErrorHandler errorHandler, long line, long col)static booleanChecker. checkQuad(Node graph, Node subject, Node predicate, 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 booleanChecker. checkQuad(Quad quad, ErrorHandler errorHandler, long line, long col)Check a quad - assumes individual nodes are legalstatic booleanChecker. checkTriple(Node subject, Node predicate, 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 booleanChecker. checkTriple(Triple triple, ErrorHandler errorHandler, long line, long col)Check a triple - assumes individual nodes are legalstatic booleanChecker. checkVar(Node node, ErrorHandler errorHandler, long line, long col)static ParserProfileRiotLib. createParserProfile(FactoryRDF factory, ErrorHandler errorHandler, boolean checking)Create aParserProfilewith default settings, and a specific error handler.static ParserProfileRiotLib. createParserProfile(FactoryRDF factory, ErrorHandler errorHandler, IRIxResolver resolver, boolean checking)Create aParserProfile.static voidChecker. iriViolationMessage(java.lang.String iriStr, boolean isError, java.lang.String msg, long line, long col, ErrorHandler errorHandler)Common handling messages about IRIs during parsing whether a violation or an IRIException.static booleanChecker. 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 booleanChecker. iriViolations(org.apache.jena.iri.IRI iri, ErrorHandler errorHandler, long line, long col)Process violations on an IRI Calls theErrorHandleron all errors and warnings (as warnings).static ParserProfileRiotLib. profile(Lang lang, java.lang.String baseIRI, ErrorHandler handler)static voidErrorHandlerFactory. setDefaultErrorHandler(ErrorHandler errorHandler)Set the current default error handler - use carefully, mainly for use in testingConstructors in org.apache.jena.riot.system with parameters of type ErrorHandler Constructor Description ParserProfileStd(FactoryRDF factory, ErrorHandler errorHandler, IRIxResolver resolver, PrefixMap prefixMap, Context context, boolean checking, boolean strictMode) -
Uses of ErrorHandler in org.apache.jena.riot.tokens
Classes in org.apache.jena.riot.tokens that implement ErrorHandler Modifier and Type Class Description classErrorHandlerTokenizerMethods in org.apache.jena.riot.tokens with parameters of type ErrorHandler Modifier and Type Method Description TokenizeTextBuilderTokenizeTextBuilder. errorHandler(ErrorHandler errorHandler)
-