- All Known Implementing Classes:
IRIProvider3986,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 TypeMethodDescriptionvoidCheck an IRI, throwIRIExceptionif the string does not conform to the grammar of RFC 3986/3987, or violates additional rules of a URI scheme know to the provider.Create an IRI, throwIRIExceptionif the string does not conform to the grammar of RFC 3986/3987.booleanisStrictMode(String scheme) voidstrictMode(String scheme, boolean runStrict) Run in strict mode for a given URI scheme - the exact definition of "strict" depends on the provider.
-
Method Details
-
create
Create an IRI, throwIRIExceptionif the string does not conform to the grammar of RFC 3986/3987.The returned
IRIxmay have additional information about violations of URI schemes; these do not cause an exception.- Throws:
IRIException
-
check
Check an IRI, throwIRIExceptionif the string does not conform to the grammar of RFC 3986/3987, or violates additional rules of a URI scheme know to the provider.- Throws:
IRIException
-
strictMode
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. -
isStrictMode
-