Package org.apache.jena.irix
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:
IRIxResolver
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
check(java.lang.String iriStr)
Create an IRI, throwIRIException
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, throwIRIException
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
-
create
IRIx create(java.lang.String iri) throws IRIException
Create an IRI, throwIRIException
if the string does not conform to the grammar.- Throws:
IRIException
-
check
void check(java.lang.String iriStr) throws IRIException
Create an IRI, throwIRIException
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)
-
-