Interface IRIProvider

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void check​(java.lang.String iriStr)
      Create an IRI, throw IRIException if the string does not conform to the grammar or violates additional rules of the provider.
      IRIx create​(java.lang.String iri)
      Create an IRI, throw IRIException if the string does not conform to the grammar.
      boolean isStrictMode​(java.lang.String scheme)  
      void strictMode​(java.lang.String scheme, boolean runStrict)
      Run in strict mode - the exact definition of "strict" depends on the provider.
    • Method Detail

      • check

        void check​(java.lang.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​(java.lang.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​(java.lang.String scheme)