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 ReferencingFactoryContainerThe underlying factories used for objects creation.Fields inherited from class ReferencingFactory
LOGGERFields inherited from class AbstractFactory
hints, MAXIMUM_PRIORITY, MINIMUM_PRIORITY, NORMAL_PRIORITY, priority -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDirectAuthorityFactory(ReferencingFactoryContainer factories, int priority) Constructs an instance using the specified set of factories.protectedDirectAuthorityFactory(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, trimAuthorityMethods inherited from class ReferencingFactory
ensureNonNull, getVendorMethods inherited from class AbstractFactory
addImplementationHints, equals, getPriority, hashCode, onDeregistration, onRegistration, toStringMethods 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_PRIORITYandMAXIMUM_PRIORITYinclusive.
-
DirectAuthorityFactory
Constructs an instance using the specified hints. This constructor recognizes theCRS,CS,DATUMandMATH_TRANSFORMFACTORYhints.- Parameters:
hints- The hints, ornullif none.priority- The priority for this factory, as a number betweenMINIMUM_PRIORITYandMAXIMUM_PRIORITYinclusive.
-
-
Method Details
-
getImplementationHints
Returns the implementation hints for this factory. The returned map contains values forCRS,CS,DATUMandMATH_TRANSFORMFACTORYhints. Other values may be provided as well, at implementation choice.- Specified by:
getImplementationHintsin interfaceFactory- Overrides:
getImplementationHintsin classAbstractFactory- Returns:
- The map of hints, or an empty map if none.
-