Package org.apache.jena.irix
Class IRIProviderJenaIRI
- java.lang.Object
-
- org.apache.jena.irix.IRIProviderJenaIRI
-
- All Implemented Interfaces:
IRIProvider
public class IRIProviderJenaIRI extends java.lang.Object implements IRIProvider
Provider forIRIx
using thejena-iri
module.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IRIProviderJenaIRI.IRIxJena
IRIx
implementation for the jena-iri provider.
-
Constructor Summary
Constructors Constructor Description IRIProviderJenaIRI()
-
Method Summary
All Methods Instance Methods Concrete 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 iriStr)
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.java.lang.String
toString()
-
-
-
Method Detail
-
create
public IRIx create(java.lang.String iriStr) throws IRIException
Description copied from interface:IRIProvider
Create an IRI, throwIRIException
if the string does not conform to the grammar.- Specified by:
create
in interfaceIRIProvider
- Throws:
IRIException
-
check
public void check(java.lang.String iriStr) throws IRIException
Description copied from interface:IRIProvider
Create an IRI, throwIRIException
if the string does not conform to the grammar or violates additional rules of the provider.- Specified by:
check
in interfaceIRIProvider
- Throws:
IRIException
-
strictMode
public void strictMode(java.lang.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 interfaceIRIProvider
-
isStrictMode
public boolean isStrictMode(java.lang.String scheme)
- Specified by:
isStrictMode
in interfaceIRIProvider
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-