Package org.geotools.referencing.factory
Class DirectAuthorityFactory
Object
AbstractFactory
ReferencingFactory
AbstractAuthorityFactory
DirectAuthorityFactory
- All Implemented Interfaces:
AuthorityFactory
,Factory
,Factory
,RegistrableFactory
- Direct Known Subclasses:
AutoCRSFactory
,CartesianAuthorityFactory
,DirectEpsgFactory
,PropertyAuthorityFactory
,PropertyCoordinateOperationAuthorityFactory
,WebCRSFactory
The base class for authority factories that create referencing object directly. This is in contrast with other
factories like the adapter or buffered
ones, which delegates their work to an other factory.
- Since:
- 2.3
- Author:
- Martin Desruisseaux (IRD)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ReferencingFactoryContainer
The underlying factories used for objects creation.Fields inherited from class ReferencingFactory
LOGGER
Fields inherited from class AbstractFactory
hints, MAXIMUM_PRIORITY, MINIMUM_PRIORITY, NORMAL_PRIORITY, priority
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
DirectAuthorityFactory
(ReferencingFactoryContainer factories, int priority) Constructs an instance using the specified set of factories.protected
DirectAuthorityFactory
(Hints hints, int priority) Constructs an instance using the specified hints. -
Method Summary
Modifier and TypeMethodDescriptionReturns the implementation hints for this factory.Methods inherited from class AbstractAuthorityFactory
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, getAuthority, getBackingStoreDescription, getIdentifiedObjectFinder, noSuchAuthorityCode, trimAuthority
Methods inherited from class ReferencingFactory
ensureNonNull, getVendor
Methods inherited from class AbstractFactory
addImplementationHints, equals, getPriority, hashCode, onDeregistration, onRegistration, toString
Methods inherited from interface AuthorityFactory
getAuthorityCodes, getDescriptionText
-
Field Details
-
factories
The underlying factories used for objects creation.
-
-
Constructor Details
-
DirectAuthorityFactory
Constructs an instance using the specified set of factories.- Parameters:
factories
- The low-level factories to use.priority
- The priority for this factory, as a number betweenMINIMUM_PRIORITY
andMAXIMUM_PRIORITY
inclusive.
-
DirectAuthorityFactory
Constructs an instance using the specified hints. This constructor recognizes theCRS
,CS
,DATUM
andMATH_TRANSFORM
FACTORY
hints.- Parameters:
hints
- The hints, ornull
if none.priority
- The priority for this factory, as a number betweenMINIMUM_PRIORITY
andMAXIMUM_PRIORITY
inclusive.
-
-
Method Details
-
getImplementationHints
Returns the implementation hints for this factory. The returned map contains values forCRS
,CS
,DATUM
andMATH_TRANSFORM
FACTORY
hints. Other values may be provided as well, at implementation choice.- Specified by:
getImplementationHints
in interfaceFactory
- Overrides:
getImplementationHints
in classAbstractFactory
- Returns:
- The map of hints, or an empty map if none.
-