Package org.geotools.referencing.iau
Class IAULongitudeFirstFactory
- Object
-
- AbstractFactory
-
- ReferencingFactory
-
- AbstractAuthorityFactory
-
- BufferedAuthorityFactory
-
- DeferredAuthorityFactory
-
- IAULongitudeFirstFactory
-
- All Implemented Interfaces:
AuthorityFactory
,CRSAuthorityFactory
,Factory
,BufferedFactory
,Factory
,OptionalFactory
,RegistrableFactory
public class IAULongitudeFirstFactory extends DeferredAuthorityFactory implements CRSAuthorityFactory
An IAU authority factory using (longitude, latitude) axis order. This factory wraps aIAUAuthorityFactory
into anOrderedAxisAuthorityFactory
when first needed.Users don't need to create explicitly an instance of this class. Instead, one can get an instance using the following code:
Hints hints = new Hints(Hints.FORCE_LONGITUDE_FIRST_AXIS_ORDER, Boolean.TRUE); CRSAuthorityFactory factory = ReferencingFactoryFinder.getCRSAuthorityFactory("IAU", hints);
LongitudeFirstFactory
, which provides the same service for the EPSG database.- See Also:
Hints.FORCE_LONGITUDE_FIRST_AXIS_ORDER
-
-
Field Summary
-
Fields inherited from class ReferencingFactory
LOGGER
-
Fields inherited from class AbstractFactory
hints, MAXIMUM_PRIORITY, MINIMUM_PRIORITY, NORMAL_PRIORITY, priority
-
-
Constructor Summary
Constructors Constructor Description IAULongitudeFirstFactory()
Creates a default factory.IAULongitudeFirstFactory(Hints userHints)
Creates a factory from the specified set of hints.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AbstractAuthorityFactory
createBackingStore()
Returns the factory instance (usuallyThreadedEpsgFactory
) to be used as the backing store.Citation
getAuthority()
Returns the organization or party responsible for definition and maintenance of the underlying database.-
Methods inherited from class DeferredAuthorityFactory
canDisposeBackingStore, dispose, disposeBackingStore, exit, getBackingStore, isAvailable, isConnected, setTimeout
-
Methods inherited from class BufferedAuthorityFactory
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, getAuthorityCodes, getBackingStoreDescription, getDescriptionText, getIdentifiedObjectFinder, getVendor
-
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 CRSAuthorityFactory
createCompoundCRS, createCoordinateReferenceSystem, createDerivedCRS, createEngineeringCRS, createGeocentricCRS, createGeographicCRS, createImageCRS, createProjectedCRS, createTemporalCRS, createVerticalCRS
-
Methods inherited from interface Factory
getImplementationHints
-
-
-
-
Constructor Detail
-
IAULongitudeFirstFactory
public IAULongitudeFirstFactory()
Creates a default factory. TheFORCE_LONGITUDE_FIRST_AXIS_ORDER
hint is always set toTRUE
. TheFORCE_STANDARD_AXIS_DIRECTIONS
andFORCE_STANDARD_AXIS_UNITS
hints are set toFALSE
by default. A different value for those two hints can be specified using the (Hints) constructor below.
-
IAULongitudeFirstFactory
public IAULongitudeFirstFactory(Hints userHints)
Creates a factory from the specified set of hints.- Parameters:
userHints
- An optional set of hints, ornull
for the default values.
-
-
Method Detail
-
getAuthority
public Citation getAuthority()
Description copied from class:BufferedAuthorityFactory
Returns the organization or party responsible for definition and maintenance of the underlying database.- Specified by:
getAuthority
in interfaceAuthorityFactory
- Overrides:
getAuthority
in classBufferedAuthorityFactory
- Returns:
- The organization reponsible for definition of the database.
-
createBackingStore
protected AbstractAuthorityFactory createBackingStore() throws FactoryException
Returns the factory instance (usuallyThreadedEpsgFactory
) to be used as the backing store.- Specified by:
createBackingStore
in classDeferredAuthorityFactory
- Returns:
- The backing store to uses in
createXXX(...)
methods. - Throws:
FactoryException
- If no suitable factory instance was found.
-
-