public class HTTP_AuthorityFactory extends AuthorityFactoryAdapter implements CRSAuthorityFactory, CSAuthorityFactory, DatumAuthorityFactory, CoordinateOperationAuthorityFactory
"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 58 character.
Modifier and Type | Field and Description |
---|---|
static String |
BASE_URL
The base URL, which is "http://www.opengis.net/gml/srs/".
|
LOGGER
hints, MAXIMUM_PRIORITY, MINIMUM_PRIORITY, NORMAL_PRIORITY, priority
Constructor and Description |
---|
HTTP_AuthorityFactory()
Creates a default wrapper.
|
HTTP_AuthorityFactory(AllAuthoritiesFactory factory)
Creates a wrapper around the specified factory.
|
HTTP_AuthorityFactory(Hints userHints)
Creates a wrapper using the specified hints.
|
Modifier and Type | Method and Description |
---|---|
Citation |
getAuthority()
Returns the authority, which contains the
"http://www.opengis.net" identifier. |
protected String |
toBackingFactoryCode(String code)
Removes the URL base ("http://www.opengis.net/gml/srs/") from the specified code before to pass it to the
wrapped factories.
|
createCartesianCS, createCompoundCRS, createCoordinateOperation, createCoordinateReferenceSystem, createCoordinateSystem, createCoordinateSystemAxis, createCylindricalCS, createDatum, createDerivedCRS, createEllipsoid, createEllipsoidalCS, createEngineeringCRS, createEngineeringDatum, createExtent, createFromCoordinateReferenceSystemCodes, createGeocentricCRS, createGeodeticDatum, createGeographicCRS, createImageCRS, createImageDatum, createObject, createOperationMethod, createParameterDescriptor, createPolarCS, createPrimeMeridian, createProjectedCRS, createSphericalCS, createTemporalCRS, createTemporalDatum, createTimeCS, createUnit, createVerticalCRS, createVerticalCS, createVerticalDatum, dispose, getAuthorityCodes, getAuthorityFactory, getBackingStoreDescription, getCoordinateOperationAuthorityFactory, getCRSAuthorityFactory, getCSAuthorityFactory, getDatumAuthorityFactory, getDescriptionText, getIdentifiedObjectFinder, getVendor, isAvailable
noSuchAuthorityCode, trimAuthority
ensureNonNull
addImplementationHints, equals, getImplementationHints, getPriority, hashCode, onDeregistration, onRegistration, toString
createCompoundCRS, createCoordinateReferenceSystem, createDerivedCRS, createEngineeringCRS, createGeocentricCRS, createGeographicCRS, createImageCRS, createProjectedCRS, createTemporalCRS, createVerticalCRS
createCartesianCS, createCoordinateSystem, createCoordinateSystemAxis, createCylindricalCS, createEllipsoidalCS, createPolarCS, createSphericalCS, createTimeCS, createUnit, createVerticalCS
createDatum, createEllipsoid, createEngineeringDatum, createGeodeticDatum, createImageDatum, createPrimeMeridian, createTemporalDatum, createVerticalDatum
createCoordinateOperation, createFromCoordinateReferenceSystemCodes
createObject, getAuthorityCodes, getDescriptionText
getImplementationHints
public static final String BASE_URL
public HTTP_AuthorityFactory()
public HTTP_AuthorityFactory(Hints userHints)
FORCE_LONGITUDE_FIRST_AXIS_ORDER
hint with value
FALSE
.userHints
- The hints to be given to backing factories.public HTTP_AuthorityFactory(AllAuthoritiesFactory factory)
public Citation getAuthority()
"http://www.opengis.net"
identifier.getAuthority
in interface AuthorityFactory
getAuthority
in class AuthorityFactoryAdapter
protected String toBackingFactoryCode(String code) throws FactoryException
toBackingFactoryCode
in class AuthorityFactoryAdapter
code
- The code given to this factory.FactoryException
- if the code can't be converted.Copyright © 1996–2019 Geotools. All rights reserved.