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.CompoundCRScreateCompoundCRS(String code) org.opengis.referencing.crs.CoordinateReferenceSystemorg.opengis.referencing.crs.DerivedCRScreateDerivedCRS(String code) org.opengis.referencing.crs.EngineeringCRScreateEngineeringCRS(String code) org.opengis.referencing.crs.GeocentricCRScreateGeocentricCRS(String code) org.opengis.referencing.crs.GeographicCRScreateGeographicCRS(String code) org.opengis.referencing.crs.ImageCRScreateImageCRS(String code) org.opengis.referencing.crs.ProjectedCRScreateProjectedCRS(String code) org.opengis.referencing.crs.TemporalCRScreateTemporalCRS(String code) org.opengis.referencing.crs.VerticalCRScreateVerticalCRS(String code) (package private) org.opengis.referencing.crs.CRSAuthorityFactoryfactory()Methods inherited from class org.apache.sis.internal.referencing.EPSGFactoryProxy
createObject, getAuthority, getAuthorityCodes, getDescriptionText, getVendorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opengis.referencing.AuthorityFactory
createObject, getAuthority, getAuthorityCodes, getDescriptionTextMethods 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:
factoryin classEPSGFactoryProxy- Throws:
org.opengis.util.FactoryException
-
createCoordinateReferenceSystem
public org.opengis.referencing.crs.CoordinateReferenceSystem createCoordinateReferenceSystem(String code) throws org.opengis.util.FactoryException - Specified by:
createCoordinateReferenceSystemin 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:
createCompoundCRSin 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:
createDerivedCRSin 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:
createEngineeringCRSin 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:
createGeographicCRSin 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:
createGeocentricCRSin 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:
createImageCRSin 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:
createProjectedCRSin 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:
createTemporalCRSin 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:
createVerticalCRSin interfaceorg.opengis.referencing.crs.CRSAuthorityFactory- Throws:
org.opengis.util.FactoryException
-