Class HTTP_AuthorityFactory

All Implemented Interfaces:
AuthorityFactory, CRSAuthorityFactory, CSAuthorityFactory, DatumAuthorityFactory, Factory, CoordinateOperationAuthorityFactory, Factory, OptionalFactory, RegistrableFactory

Wraps all factories in a "http://www.opengis.net/" name space. An exemple of complete URL is "http://www.opengis.net/gml/srs/epsg.xml#4326".

Implementation note: this class requires some cooperation from the ManyAuthoritiesFactory.getSeparator(java.lang.String) method, since the separator is not the usual ':' character.

Author:
Martin Desruisseaux
  • Field Details

    • BASE_URL

      public static final String BASE_URL
      The base URL, which is "http://www.opengis.net/gml/srs/".
      See Also:
  • Constructor Details

    • HTTP_AuthorityFactory

      public HTTP_AuthorityFactory()
      Creates a default wrapper.
    • HTTP_AuthorityFactory

      public HTTP_AuthorityFactory(Hints userHints)
      Creates a wrapper using the specified hints. For strict compliance with OGC definition of CRS defined by URL, the supplied hints should contains at least the FORCE_LONGITUDE_FIRST_AXIS_ORDER hint with value FALSE.
      Parameters:
      userHints - The hints to be given to backing factories.
    • HTTP_AuthorityFactory

      public HTTP_AuthorityFactory(AllAuthoritiesFactory factory)
      Creates a wrapper around the specified factory. The supplied factory is given unchanged to the super class constructor.
  • Method Details