org.geotools.referencing.factory
Class DirectAuthorityFactory

Object
  extended by AbstractFactory
      extended by ReferencingFactory
          extended by AbstractAuthorityFactory
              extended by DirectAuthorityFactory
All Implemented Interfaces:
RegisterableService, Factory, AuthorityFactory
Direct Known Subclasses:
AutoCRSFactory, DirectEpsgFactory, PropertyAuthorityFactory, 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)
Module:
modules/library/referencing (gt-referencing.jar)

Field Summary
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
protected DirectAuthorityFactory(Hints hints, int priority)
          Constructs an instance using the specified hints.
protected DirectAuthorityFactory(ReferencingFactoryContainer factories, int priority)
          Constructs an instance using the specified set of factories.
 
Method Summary
 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 class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface AuthorityFactory
getAuthorityCodes, getDescriptionText
 
Methods inherited from interface Factory
getVendor
 

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 between MINIMUM_PRIORITY and MAXIMUM_PRIORITY inclusive.

DirectAuthorityFactory

protected DirectAuthorityFactory(Hints hints,
                                 int priority)
Constructs an instance using the specified hints. This constructor recognizes the CRS, CS, DATUM and MATH_TRANSFORM FACTORY hints.

Parameters:
hints - The hints, or null if none.
priority - The priority for this factory, as a number between MINIMUM_PRIORITY and MAXIMUM_PRIORITY inclusive.
Method Detail

getImplementationHints

public Map<RenderingHints.Key,?> getImplementationHints()
Returns the implementation hints for this factory. The returned map contains values for CRS, CS, DATUM and MATH_TRANSFORM FACTORY hints. Other values may be provided as well, at implementation choice.

Specified by:
getImplementationHints in interface Factory
Overrides:
getImplementationHints in class AbstractFactory
Returns:
The map of hints, or an empty map if none.


Copyright © 1996-2009 Geotools. All Rights Reserved.