Class IRIProviderJenaIRI

java.lang.Object
org.apache.jena.irix.IRIProviderJenaIRI
All Implemented Interfaces:
IRIProvider

public class IRIProviderJenaIRI extends Object implements IRIProvider
Provider for IRIx using the jena-iri module.
  • Constructor Details

    • IRIProviderJenaIRI

      public IRIProviderJenaIRI()
  • Method Details

    • create

      public IRIx create(String iriStr) throws IRIException
      Description copied from interface: IRIProvider
      Create an IRI, throw IRIException if the string does not conform to the grammar of RFC 3986/3987.

      The returned IRIx may have additional information about violations of URI schemes; these do not cause an exception.

      Specified by:
      create in interface IRIProvider
      Throws:
      IRIException
    • check

      public void check(String iriStr) throws IRIException
      Description copied from interface: IRIProvider
      Check an IRI, throw IRIException if the string does not conform to the grammar of RFC 3986/3987, or violates additional rules of a URI scheme know to the provider.
      Specified by:
      check in interface IRIProvider
      Throws:
      IRIException
    • strictMode

      public void strictMode(String scheme, boolean runStrict)
      Description copied from interface: IRIProvider
      Run in strict mode for a given URI scheme - the exact definition of "strict" depends on the provider. When strict, a provider should implement to the letter of the specifications, including URI-scheme rules. This strictness should be documented.
      Specified by:
      strictMode in interface IRIProvider
    • isStrictMode

      public boolean isStrictMode(String scheme)
      Specified by:
      isStrictMode in interface IRIProvider
    • toString

      public String toString()
      Overrides:
      toString in class Object