Class EPSGFactoryProxyCRS

java.lang.Object
org.apache.sis.internal.referencing.EPSGFactoryProxy
org.apache.sis.internal.referencing.EPSGFactoryProxyCRS
All Implemented Interfaces:
org.opengis.referencing.AuthorityFactory, org.opengis.referencing.crs.CRSAuthorityFactory, org.opengis.util.Factory

public final class EPSGFactoryProxyCRS extends EPSGFactoryProxy implements org.opengis.referencing.crs.CRSAuthorityFactory
A factory that redirect all method to another factory. This factory is normally useless and not used by Apache SIS. The sole purpose of this factory is to give an access to the EPSG factory through ServiceLoader. We have to use this indirection level because the EPSG factory is managed in a special way by Apache SIS.

This class will be modified on the JDK9 branch in order to replace the proxy by a static provider() method. This will allow us to remove all the indirection level currently found in this class.

  • Field Details

    • factory

      private volatile org.opengis.referencing.crs.CRSAuthorityFactory factory
  • Constructor Details

    • EPSGFactoryProxyCRS

      public EPSGFactoryProxyCRS()
  • Method Details

    • factory

      org.opengis.referencing.crs.CRSAuthorityFactory factory() throws org.opengis.util.FactoryException
      Specified by:
      factory in class EPSGFactoryProxy
      Throws:
      org.opengis.util.FactoryException
    • createCoordinateReferenceSystem

      public org.opengis.referencing.crs.CoordinateReferenceSystem createCoordinateReferenceSystem(String code) throws org.opengis.util.FactoryException
      Specified by:
      createCoordinateReferenceSystem in interface org.opengis.referencing.crs.CRSAuthorityFactory
      Throws:
      org.opengis.util.FactoryException
    • createCompoundCRS

      public org.opengis.referencing.crs.CompoundCRS createCompoundCRS(String code) throws org.opengis.util.FactoryException
      Specified by:
      createCompoundCRS in interface org.opengis.referencing.crs.CRSAuthorityFactory
      Throws:
      org.opengis.util.FactoryException
    • createDerivedCRS

      public org.opengis.referencing.crs.DerivedCRS createDerivedCRS(String code) throws org.opengis.util.FactoryException
      Specified by:
      createDerivedCRS in interface org.opengis.referencing.crs.CRSAuthorityFactory
      Throws:
      org.opengis.util.FactoryException
    • createEngineeringCRS

      public org.opengis.referencing.crs.EngineeringCRS createEngineeringCRS(String code) throws org.opengis.util.FactoryException
      Specified by:
      createEngineeringCRS in interface org.opengis.referencing.crs.CRSAuthorityFactory
      Throws:
      org.opengis.util.FactoryException
    • createGeographicCRS

      public org.opengis.referencing.crs.GeographicCRS createGeographicCRS(String code) throws org.opengis.util.FactoryException
      Specified by:
      createGeographicCRS in interface org.opengis.referencing.crs.CRSAuthorityFactory
      Throws:
      org.opengis.util.FactoryException
    • createGeocentricCRS

      public org.opengis.referencing.crs.GeocentricCRS createGeocentricCRS(String code) throws org.opengis.util.FactoryException
      Specified by:
      createGeocentricCRS in interface org.opengis.referencing.crs.CRSAuthorityFactory
      Throws:
      org.opengis.util.FactoryException
    • createImageCRS

      public org.opengis.referencing.crs.ImageCRS createImageCRS(String code) throws org.opengis.util.FactoryException
      Specified by:
      createImageCRS in interface org.opengis.referencing.crs.CRSAuthorityFactory
      Throws:
      org.opengis.util.FactoryException
    • createProjectedCRS

      public org.opengis.referencing.crs.ProjectedCRS createProjectedCRS(String code) throws org.opengis.util.FactoryException
      Specified by:
      createProjectedCRS in interface org.opengis.referencing.crs.CRSAuthorityFactory
      Throws:
      org.opengis.util.FactoryException
    • createTemporalCRS

      public org.opengis.referencing.crs.TemporalCRS createTemporalCRS(String code) throws org.opengis.util.FactoryException
      Specified by:
      createTemporalCRS in interface org.opengis.referencing.crs.CRSAuthorityFactory
      Throws:
      org.opengis.util.FactoryException
    • createVerticalCRS

      public org.opengis.referencing.crs.VerticalCRS createVerticalCRS(String code) throws org.opengis.util.FactoryException
      Specified by:
      createVerticalCRS in interface org.opengis.referencing.crs.CRSAuthorityFactory
      Throws:
      org.opengis.util.FactoryException