Class SystemIRI3986

java.lang.Object
org.apache.jena.rfc3986.SystemIRI3986

public class SystemIRI3986 extends Object
Setup and configuration of the IRI3986 parser package.
  • Constructor Details

    • SystemIRI3986

      public SystemIRI3986()
  • Method Details

    • setErrorHandler

      public static void setErrorHandler(ErrorHandler errHandler)
    • getErrorHandler

      public static ErrorHandler getErrorHandler()
    • toHandler

      public static void toHandler(IRI3986 iri, ErrorHandler errorHandler)
      Send any violations to an ErrorHandler.

      The error handler may throw an exception to give an operation that is "good IRI or exception".

      This call uses the system default SeverityMap from Violations.severities().

    • toHandler

      public static void toHandler(IRI3986 iri, SeverityMap severityMap, ErrorHandler errorHandler)
      Determine the severity of each violation and send to an ErrorHandler. The severity is determined from the severity function, which should not return null.

      The error handler may throw an exception to give an operation that is "good IRI or exception".