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
public abstract class DirectAuthorityFactory extends AbstractAuthorityFactory
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
Fields Modifier and Type Field Description protected ReferencingFactoryContainer
factories
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
Constructors Modifier Constructor Description protected
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<RenderingHints.Key,?>
getImplementationHints()
Returns 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 Detail
-
factories
protected final ReferencingFactoryContainer factories
The underlying factories used for objects creation.
-
-
Constructor Detail
-
DirectAuthorityFactory
protected DirectAuthorityFactory(ReferencingFactoryContainer factories, int priority)
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
protected DirectAuthorityFactory(Hints hints, int priority)
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 Detail
-
getImplementationHints
public Map<RenderingHints.Key,?> 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.
-
-