Package org.apache.jena.irix
Class IRIProviderAny
- java.lang.Object
-
- org.apache.jena.irix.IRIProviderAny
-
- All Implemented Interfaces:
IRIProvider
public class IRIProviderAny extends java.lang.Object implements IRIProvider
Non-resolving provider that accepts anything string for <...>.Caveat emptor.
-
-
Constructor Summary
Constructors Constructor Description IRIProviderAny()
-
Method Summary
All Methods Static 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 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.static IRIProviderAny
stringProvider()
The IRIProvider builder does not create this kind of IRIProvider!
-
-
-
Method Detail
-
stringProvider
public static IRIProviderAny stringProvider()
The IRIProvider builder does not create this kind of IRIProvider!
-
create
public IRIx create(java.lang.String iri)
Description copied from interface:IRIProvider
Create an IRI, throwIRIException
if the string does not conform to the grammar.- Specified by:
create
in interfaceIRIProvider
-
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
-
-