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 Details

    • code

      String code
      The authority code saved by the createFromAPI(…) 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 the code field and returns the given factory unchanged.
      Specified by:
      createFromAPI in class AuthorityFactoryProxy<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 of CoordinateOperationAuthorityFactory.