java.lang.Object
org.apache.jena.iri3986.provider.IRIProvider3986
- All Implemented Interfaces:
IRIProvider
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Check an IRI, throwIRIException
if 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, throwIRIException
if the string does not conform to the grammar of RFC 3986/3987.boolean
isStrictMode
(String schemeName) void
strictMode
(String schemeName, boolean strictness) Run in strict mode for a given URI scheme - the exact definition of "strict" depends on the provider.toString()
-
Constructor Details
-
IRIProvider3986
public IRIProvider3986()IRIProvider3986
-
-
Method Details
-
create
Description copied from interface:IRIProvider
Create an IRI, throwIRIException
if the string does not conform to the grammar of RFC 3986/3987.The returned
IRIx
may have additional information about violations of URI schemes; these do not cause an exception.- Specified by:
create
in interfaceIRIProvider
- Throws:
IRIException
-
check
Description copied from interface:IRIProvider
Check an IRI, throwIRIException
if the string does not conform to the grammar of RFC 3986/3987, or violates additional rules of a URI scheme know to the provider.- Specified by:
check
in interfaceIRIProvider
- Throws:
IRIException
-
strictMode
Description copied from interface:IRIProvider
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.- Specified by:
strictMode
in interfaceIRIProvider
-
isStrictMode
- Specified by:
isStrictMode
in interfaceIRIProvider
-
toString
-