java.lang.Object
org.apache.jena.iri.impl.AbsIRIFactoryImpl
- All Implemented Interfaces:
IRIFactoryI
- Direct Known Subclasses:
IRI,IRIFactoryImpl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMake a new IRI object (possibly including IRI resolution), and check it for violations of the standards being enforced by the factory.Make a new IRI object (possibly including IRI resolution), and check it for violations of the standards being enforced by the factory.Make a new IRI object (possibly including IRI resolution), and check it for violations of the standards being enforced by the factory.Make a new IRI object (possibly including IRI resolution), and check it for violations of the standards being enforced by the factory.Make a new IRI object (possibly including IRI resolution), and check it for violations of the standards being enforced by the factory.abstract IRIMake a new IRI object (possibly including IRI resolution), and check it for violations of the standards being enforced by the factory.
-
Constructor Details
-
AbsIRIFactoryImpl
public AbsIRIFactoryImpl()
-
-
Method Details
-
create
Description copied from interface:IRIFactoryIMake a new IRI object (possibly including IRI resolution), and check it for violations of the standards being enforced by the factory. This method does not throw exceptions, but records all errors and warnings found to be queried later usingIRI.hasViolation(boolean)andIRI.violations(boolean).- Specified by:
createin interfaceIRIFactoryI- Parameters:
s- The IRI to use.- Returns:
- A new IRI object.
-
create
Description copied from interface:IRIFactoryIMake a new IRI object (possibly including IRI resolution), and check it for violations of the standards being enforced by the factory. This method does not throw exceptions, but records all errors and warnings found to be queried later usingIRI.hasViolation(boolean)andIRI.violations(boolean).- Specified by:
createin interfaceIRIFactoryI- Parameters:
uri- The URI to use (relative or absolute).- Returns:
- A new IRI object.
-
construct
Description copied from interface:IRIFactoryIMake a new IRI object (possibly including IRI resolution), and check it for violations of the standards being enforced by the factory.- Specified by:
constructin interfaceIRIFactoryI- Parameters:
s- The IRI to use.- Returns:
- A new IRI object.
- Throws:
IRIException- If a violation of the standards being enforced by the factory has been detected, and this violation is classified by the factory as an error.
-
construct
Description copied from interface:IRIFactoryIMake a new IRI object (possibly including IRI resolution), and check it for violations of the standards being enforced by the factory. This method both allows IRI resolution against a base, and for creating a new IRI using a different factory, with different conformance settings, implementing a different URI or IRI standard, or variant thereof.- Specified by:
constructin interfaceIRIFactoryI- Parameters:
i- The IRI to use.- Returns:
- A new IRI object.
- Throws:
IRIException- If a violation of the standards being enforced by the factory has been detected, and this violation is classified by the factory as an error.
-
construct
Description copied from interface:IRIFactoryIMake a new IRI object (possibly including IRI resolution), and check it for violations of the standards being enforced by the factory.- Specified by:
constructin interfaceIRIFactoryI- Parameters:
uri- The IRI string to use.- Returns:
- A new IRI object.
- Throws:
IRIException- If a violation of the standards being enforced by the factory has been detected, and this violation is classified by the factory as an error.
-
create
Description copied from interface:IRIFactoryIMake a new IRI object (possibly including IRI resolution), and check it for violations of the standards being enforced by the factory. This method both allows IRI resolution against a base, and for creating a new IRI using a different factory, with different conformance settings, implementing a different URI or IRI standard, or variant thereof. This method does not throw exceptions, but records all errors and warnings found to be queried later usingIRI.hasViolation(boolean)andIRI.violations(boolean).- Specified by:
createin interfaceIRIFactoryI- Parameters:
i- The IRI to use.- Returns:
- A new IRI object.
-