Class IRIProviderAny

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

public class IRIProviderAny extends Object implements IRIProvider
Non-resolving provider that accepts anything string for <...>.

Caveat emptor.

  • Constructor Details

    • IRIProviderAny

      public IRIProviderAny()
  • Method Details

    • stringProvider

      public static IRIProviderAny stringProvider()
      The IRIProvider builder does not create this kind of IRIProvider!
    • create

      public IRIx create(String iri)
      Description copied from interface: IRIProvider
      Create an IRI, throw IRIException if the string does not conform to the grammar.
      Specified by:
      create in interface IRIProvider
    • check

      public void check(String iriStr) throws IRIException
      Description copied from interface: IRIProvider
      Create an IRI, throw IRIException if the string does not conform to the grammar or violates additional rules of 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 - 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