org.geotoolkit.referencing.factory
Class DirectAuthorityFactory

Object
  extended by Factory
      extended by ReferencingFactory
          extended by AbstractAuthorityFactory
              extended by DirectAuthorityFactory
All Implemented Interfaces:
AuthorityFactory, Factory
Direct Known Subclasses:
AutoCRSFactory, DirectEpsgFactory, WebCRSFactory, WKTParsingAuthorityFactory

@ThreadSafe
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 caching ones, which delegates their work to an other factory.

Since:
2.3
Version:
3.00
Author:
Martin Desruisseaux (IRD)
Module:
referencing/geotk-referencing (download)    View source code for this class

Nested Class Summary
 
Nested classes/interfaces inherited from class Factory
Factory.Availability, Factory.Organizer
 
Field Summary
protected  ReferencingFactoryContainer factories
          The underlying factories used for objects creation.
 
Fields inherited from class AbstractAuthorityFactory
nameFactory
 
Fields inherited from class ReferencingFactory
LOGGER
 
Fields inherited from class Factory
EMPTY_HINTS, hints
 
Constructor Summary
protected DirectAuthorityFactory(Hints userHints)
          Constructs an instance using the specified hints.
protected DirectAuthorityFactory(ReferencingFactoryContainer factories)
          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 Factory
availability, equals, hasCompatibleHints, hashCode, setOrdering, 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)
Constructs an instance using the specified set of factories.

Parameters:
factories - The low-level factories to use.

DirectAuthorityFactory

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

Parameters:
userHints - An optional set of hints, or null for the default ones.
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.

Overrides:
getImplementationHints in class Factory


Copyright © 2009-2011 Geotoolkit.org. All Rights Reserved.