Class MultiAuthoritiesFactory.Deferred
java.lang.Object
org.apache.sis.referencing.factory.AuthorityFactoryProxy<org.opengis.referencing.operation.CoordinateOperationAuthorityFactory>
org.apache.sis.referencing.factory.MultiAuthoritiesFactory.Deferred
- Enclosing class:
MultiAuthoritiesFactory
private static final class MultiAuthoritiesFactory.Deferred
extends AuthorityFactoryProxy<org.opengis.referencing.operation.CoordinateOperationAuthorityFactory>
A proxy that does not execute immediately the
create
method on a factory,
but instead stores information for later execution.-
Field Summary
FieldsModifier and TypeFieldDescription(package private) String
The authority code saved by thecreateFromAPI(…)
method.Fields inherited from class org.apache.sis.referencing.factory.AuthorityFactoryProxy
AXIS, CARTESIAN_CS, COMPOUND_CRS, COORDINATE_SYSTEM, CRS, CYLINDRICAL_CS, DATUM, DERIVED_CRS, DESCRIPTION, ELLIPSOID, ELLIPSOIDAL_CS, ENGINEERING_CRS, ENGINEERING_DATUM, EXTENT, factoryType, GEOCENTRIC_CRS, GEODETIC_DATUM, GEOGRAPHIC_CRS, IMAGE_CRS, IMAGE_DATUM, METHOD, OBJECT, OPERATION, PARAMETER, POLAR_CS, PRIME_MERIDIAN, PROJECTED_CRS, PROXIES, SPHERICAL_CS, TEMPORAL_CRS, TEMPORAL_DATUM, TIME_CS, type, UNIT, VERTICAL_CRS, VERTICAL_CS, VERTICAL_DATUM
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) org.opengis.referencing.operation.CoordinateOperationAuthorityFactory
createFromAPI
(org.opengis.referencing.AuthorityFactory factory, String code) Saves the given code in thecode
field and returns the given factory unchanged.Methods inherited from class org.apache.sis.referencing.factory.AuthorityFactoryProxy
create, crsFactory, csFactory, datumFactory, geodeticFactory, getInstance, opFactory, specialize, toString
-
Field Details
-
code
String codeThe authority code saved by thecreateFromAPI(…)
method.
-
-
Constructor Details
-
Deferred
Deferred()
-
-
Method Details
-
createFromAPI
org.opengis.referencing.operation.CoordinateOperationAuthorityFactory createFromAPI(org.opengis.referencing.AuthorityFactory factory, String code) throws org.opengis.util.FactoryException Saves the given code in thecode
field and returns the given factory unchanged.- Specified by:
createFromAPI
in classAuthorityFactoryProxy<org.opengis.referencing.operation.CoordinateOperationAuthorityFactory>
- Parameters:
factory
- the factory to use for creating the object.code
- the code for which to create an object.- Returns:
- the object created from the given code.
- Throws:
org.opengis.util.FactoryException
- if the given factory is not an instance ofCoordinateOperationAuthorityFactory
.
-