org.geotools.referencing.factory
Class DirectAuthorityFactory

java.lang.Object
  extended by org.geotools.factory.AbstractFactory
      extended by org.geotools.referencing.factory.ReferencingFactory
          extended by org.geotools.referencing.factory.AbstractAuthorityFactory
              extended by org.geotools.referencing.factory.DirectAuthorityFactory
All Implemented Interfaces:
javax.imageio.spi.RegisterableService, Factory, org.opengis.referencing.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
Version:
$Id: DirectAuthorityFactory.java 30641 2008-06-12 17:42:27Z acuster $
Author:
Martin Desruisseaux (IRD)

Field Summary
protected  ReferencingFactoryContainer factories
          The underlying factories used for objects creation.
 
Fields inherited from class org.geotools.referencing.factory.ReferencingFactory
LOGGER
 
Fields inherited from class org.geotools.factory.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
 java.util.Map<java.awt.RenderingHints.Key,?> getImplementationHints()
          Returns the implementation hints for this factory.
 
Methods inherited from class org.geotools.referencing.factory.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 org.geotools.referencing.factory.ReferencingFactory
ensureNonNull, getVendor
 
Methods inherited from class org.geotools.factory.AbstractFactory
addImplementationHints, equals, getPriority, hashCode, onDeregistration, onRegistration, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.opengis.referencing.AuthorityFactory
getAuthorityCodes, getDescriptionText
 
Methods inherited from interface org.opengis.referencing.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 java.util.Map<java.awt.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-2010 Geotools. All Rights Reserved.