Package org.geotools.referencing.factory
Class HTTP_URI_AuthorityFactory
- Object
-
- AbstractFactory
-
- ReferencingFactory
-
- AbstractAuthorityFactory
-
- AuthorityFactoryAdapter
-
- Abstract_URI_AuthorityFactory
-
- HTTP_URI_AuthorityFactory
-
- All Implemented Interfaces:
AuthorityFactory
,CRSAuthorityFactory
,CSAuthorityFactory
,DatumAuthorityFactory
,Factory
,CoordinateOperationAuthorityFactory
,Factory
,OptionalFactory
,RegistrableFactory
public class HTTP_URI_AuthorityFactory extends Abstract_URI_AuthorityFactory
AuthorityFactory
for OGC HTTP URI resources. For example, the WGS84 coordinate reference system can be expressed as"http://www.opengis.net/def/crs/EPSG/0/4326"
.Use
org.geotools.api.referencing.ReferencingFactoryFinder
instead of instantiating this class directly.- Author:
- Ben Caradoc-Davies (CSIRO Earth Science and Resource Engineering)
-
-
Field Summary
Fields Modifier and Type Field Description static String
HINTS_AUTHORITY
The name used inHints.FORCE_AXIS_ORDER_HONORING
for this factory.-
Fields inherited from class ReferencingFactory
LOGGER
-
Fields inherited from class AbstractFactory
hints, MAXIMUM_PRIORITY, MINIMUM_PRIORITY, NORMAL_PRIORITY, priority
-
-
Constructor Summary
Constructors Constructor Description HTTP_URI_AuthorityFactory()
Constructor.HTTP_URI_AuthorityFactory(AllAuthoritiesFactory factory)
Constructor.HTTP_URI_AuthorityFactory(Hints userHints)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected URI_Parser
buildParser(String code)
Subclasses must implement this method to return a subclass of URI_Parser appropriate to their URI.Citation
getAuthority()
Returns the organization or party responsible for definition and maintenance of the database.-
Methods inherited from class Abstract_URI_AuthorityFactory
createVersionedFactory, getAuthorityFactory, getCoordinateOperationAuthorityFactory, getCRSAuthorityFactory, getCSAuthorityFactory, getDatumAuthorityFactory, toBackingFactoryCode
-
Methods inherited from class AuthorityFactoryAdapter
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, getBackingStoreDescription, getDescriptionText, getIdentifiedObjectFinder, getVendor, isAvailable, notifySuccess
-
Methods inherited from class AbstractAuthorityFactory
noSuchAuthorityCode, trimAuthority
-
Methods inherited from class ReferencingFactory
ensureNonNull
-
Methods inherited from class AbstractFactory
addImplementationHints, equals, getImplementationHints, getPriority, hashCode, onDeregistration, onRegistration, toString
-
Methods inherited from interface AuthorityFactory
createObject, getAuthorityCodes, getDescriptionText
-
Methods inherited from interface CoordinateOperationAuthorityFactory
createCoordinateOperation, createFromCoordinateReferenceSystemCodes
-
Methods inherited from interface CRSAuthorityFactory
createCompoundCRS, createCoordinateReferenceSystem, createDerivedCRS, createEngineeringCRS, createGeocentricCRS, createGeographicCRS, createImageCRS, createProjectedCRS, createTemporalCRS, createVerticalCRS
-
Methods inherited from interface CSAuthorityFactory
createCartesianCS, createCoordinateSystem, createCoordinateSystemAxis, createCylindricalCS, createEllipsoidalCS, createPolarCS, createSphericalCS, createTimeCS, createUnit, createVerticalCS
-
Methods inherited from interface DatumAuthorityFactory
createDatum, createEllipsoid, createEngineeringDatum, createGeodeticDatum, createImageDatum, createPrimeMeridian, createTemporalDatum, createVerticalDatum
-
Methods inherited from interface Factory
getImplementationHints
-
-
-
-
Field Detail
-
HINTS_AUTHORITY
public static final String HINTS_AUTHORITY
The name used inHints.FORCE_AXIS_ORDER_HONORING
for this factory.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HTTP_URI_AuthorityFactory
public HTTP_URI_AuthorityFactory()
Constructor.- See Also:
Abstract_URI_AuthorityFactory(String)
-
HTTP_URI_AuthorityFactory
public HTTP_URI_AuthorityFactory(Hints userHints)
Constructor.
-
HTTP_URI_AuthorityFactory
public HTTP_URI_AuthorityFactory(AllAuthoritiesFactory factory)
Constructor.
-
-
Method Detail
-
getAuthority
public Citation getAuthority()
Description copied from class:AuthorityFactoryAdapter
Returns the organization or party responsible for definition and maintenance of the database.- Specified by:
getAuthority
in interfaceAuthorityFactory
- Specified by:
getAuthority
in classAbstract_URI_AuthorityFactory
- Returns:
- The organization reponsible for definition of the database.
- See Also:
AuthorityFactoryAdapter.getAuthority()
-
buildParser
protected URI_Parser buildParser(String code) throws NoSuchAuthorityCodeException
Description copied from class:Abstract_URI_AuthorityFactory
Subclasses must implement this method to return a subclass of URI_Parser appropriate to their URI.- Specified by:
buildParser
in classAbstract_URI_AuthorityFactory
- Parameters:
code
- the URI to be parsed- Throws:
NoSuchAuthorityCodeException
- See Also:
Abstract_URI_AuthorityFactory.buildParser(java.lang.String)
-
-