- All Known Implementing Classes:
AbsIRIFactoryImpl
,AbsIRIImpl
,IRI
,IRIFactory
,IRIFactoryImpl
,IRIImpl
,ResolvedRelativeIRI
public interface IRIFactoryI
This interface is used for making new
IRI
objects. It is used for
making IRIs in two ways:
- Without resolving against a base (by the class
IRIFactory
). - By resolving against a base (by the interface
IRI
).
IRIFactory
, which is the
factory object being used in the first case, or the factory object used to
create the base IRI in the second case.-
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.Make a new IRI object (possibly including IRI resolution), and check it for violations of the standards being enforced by the factory.
-
Method Details
-
construct
Make 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.- 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
Make a new IRI object (possibly including IRI resolution), and check it for violations of the standards being enforced by the factory.- 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
Make a new IRI object (possibly including IRI resolution), and check it for violations of the standards being enforced by the factory.- 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
Make 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)
.- Parameters:
i
- The IRI to use.- Returns:
- A new IRI object.
-
create
Make 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)
.- Parameters:
s
- The IRI to use.- Returns:
- A new IRI object.
-
create
Make 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)
.- Parameters:
uri
- The URI to use (relative or absolute).- Returns:
- A new IRI object.
-