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 Object implements IRIFactoryI
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    create(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 IRI
    Make a new IRI object (possibly including IRI resolution), and check it for violations of the standards being enforced by the factory.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AbsIRIFactoryImpl

      public AbsIRIFactoryImpl()
  • Method Details

    • create

      public IRI create(String s)
      Description copied from interface: IRIFactoryI
      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 using IRI.hasViolation(boolean) and IRI.violations(boolean).
      Specified by:
      create in interface IRIFactoryI
      Parameters:
      s - The IRI to use.
      Returns:
      A new IRI object.
    • create

      public IRI create(URI uri)
      Description copied from interface: IRIFactoryI
      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 using IRI.hasViolation(boolean) and IRI.violations(boolean).
      Specified by:
      create in interface IRIFactoryI
      Parameters:
      uri - The URI to use (relative or absolute).
      Returns:
      A new IRI object.
    • construct

      public IRI construct(String s) throws IRIException0
      Description copied from interface: IRIFactoryI
      Make a new IRI object (possibly including IRI resolution), and check it for violations of the standards being enforced by the factory.
      Specified by:
      construct in interface IRIFactoryI
      Parameters:
      s - The IRI to use.
      Returns:
      A new IRI object.
      Throws:
      IRIException0 - 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 IRIException0
      Description copied from interface: IRIFactoryI
      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.
      Specified by:
      construct in interface IRIFactoryI
      Parameters:
      i - The IRI to use.
      Returns:
      A new IRI object.
      Throws:
      IRIException0 - 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(URI uri) throws IRIException0
      Description copied from interface: IRIFactoryI
      Make a new IRI object (possibly including IRI resolution), and check it for violations of the standards being enforced by the factory.
      Specified by:
      construct in interface IRIFactoryI
      Parameters:
      uri - The IRI string to use.
      Returns:
      A new IRI object.
      Throws:
      IRIException0 - 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: IRIFactoryI
      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 using IRI.hasViolation(boolean) and IRI.violations(boolean).
      Specified by:
      create in interface IRIFactoryI
      Parameters:
      i - The IRI to use.
      Returns:
      A new IRI object.