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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.opengis.referencing.crs.CompoundCRS
createCompoundCRS
(String code) org.opengis.referencing.crs.CoordinateReferenceSystem
org.opengis.referencing.crs.DerivedCRS
createDerivedCRS
(String code) org.opengis.referencing.crs.EngineeringCRS
createEngineeringCRS
(String code) org.opengis.referencing.crs.GeocentricCRS
createGeocentricCRS
(String code) org.opengis.referencing.crs.GeographicCRS
createGeographicCRS
(String code) org.opengis.referencing.crs.ImageCRS
createImageCRS
(String code) org.opengis.referencing.crs.ProjectedCRS
createProjectedCRS
(String code) org.opengis.referencing.crs.TemporalCRS
createTemporalCRS
(String code) org.opengis.referencing.crs.VerticalCRS
createVerticalCRS
(String code) (package private) org.opengis.referencing.crs.CRSAuthorityFactory
factory()
Methods inherited from class org.apache.sis.internal.referencing.EPSGFactoryProxy
createObject, getAuthority, getAuthorityCodes, getDescriptionText, getVendor
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opengis.referencing.AuthorityFactory
createObject, getAuthority, getAuthorityCodes, getDescriptionText
Methods inherited from interface org.opengis.util.Factory
getVendor
-
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 classEPSGFactoryProxy
- Throws:
org.opengis.util.FactoryException
-
createCoordinateReferenceSystem
public org.opengis.referencing.crs.CoordinateReferenceSystem createCoordinateReferenceSystem(String code) throws org.opengis.util.FactoryException - Specified by:
createCoordinateReferenceSystem
in interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.opengis.referencing.crs.CRSAuthorityFactory
- Throws:
org.opengis.util.FactoryException
-