Package org.apache.jena.iri.impl
Class AbsIRIFactoryImpl
- java.lang.Object
-
- org.apache.jena.iri.impl.AbsIRIFactoryImpl
-
- All Implemented Interfaces:
IRIFactoryI
- Direct Known Subclasses:
IRI,IRIFactoryImpl
public abstract class AbsIRIFactoryImpl extends java.lang.Object implements IRIFactoryI
-
-
Constructor Summary
Constructors Constructor Description AbsIRIFactoryImpl()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description IRIconstruct(java.lang.String s)Make a new IRI object (possibly including IRI resolution), and check it for violations of the standards being enforced by the factory.IRIconstruct(java.net.URI uri)Make a new IRI object (possibly including IRI resolution), and check it for violations of the standards being enforced by the factory.IRIconstruct(IRI i)Make a new IRI object (possibly including IRI resolution), and check it for violations of the standards being enforced by the factory.IRIcreate(java.lang.String s)Make a new IRI object (possibly including IRI resolution), and check it for violations of the standards being enforced by the factory.IRIcreate(java.net.URI uri)Make a new IRI object (possibly including IRI resolution), and check it for violations of the standards being enforced by the factory.abstract IRIcreate(IRI i)Make a new IRI object (possibly including IRI resolution), and check it for violations of the standards being enforced by the factory.
-
-
-
Method Detail
-
create
public IRI create(java.lang.String s)
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
public IRI create(java.net.URI uri)
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
public IRI construct(java.lang.String s) throws IRIException
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
public IRI construct(IRI i) throws IRIException
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
public IRI construct(java.net.URI uri) throws IRIException
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
public abstract IRI create(IRI i)
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.
-
-