Interface IRIProvider

All Known Implementing Classes:
IRIProviderAny, IRIProviderJDK, IRIProviderJenaIRI

public interface IRIProvider
Provider: an implementation of a factory for IRIs. This is not an application interface - is the plugin for the provider to jena.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    check(String iriStr)
    Create an IRI, throw IRIException if the string does not conform to the grammar or violates additional rules of the provider.
    Create an IRI, throw IRIException if the string does not conform to the grammar.
    boolean
     
    void
    strictMode(String scheme, boolean runStrict)
    Run in strict mode - the exact definition of "strict" depends on the provider.
  • Method Details

    • create

      IRIx create(String iri) throws IRIException
      Create an IRI, throw IRIException if the string does not conform to the grammar.
      Throws:
      IRIException
    • check

      void check(String iriStr) throws IRIException
      Create an IRI, throw IRIException if the string does not conform to the grammar or violates additional rules of the provider.
      Throws:
      IRIException
    • strictMode

      void strictMode(String scheme, boolean runStrict)
      Run in strict mode - 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.
    • isStrictMode

      boolean isStrictMode(String scheme)