Class AbstractAuthorityFactory

Object
AbstractFactory
ReferencingFactory
AbstractAuthorityFactory
All Implemented Interfaces:
AuthorityFactory, Factory, Factory, RegistrableFactory
Direct Known Subclasses:
AbstractAuthorityMediator, AbstractCachedAuthorityFactory, AuthorityFactoryAdapter, BufferedAuthorityFactory, CachedAuthorityDecorator, CachedCRSAuthorityDecorator, DirectAuthorityFactory, ThreadedAuthorityFactory

public abstract class AbstractAuthorityFactory extends ReferencingFactory implements AuthorityFactory
Base class for authority factories. An authority is an organization that maintains definitions of authority codes. An authority code is a compact string defined by an authority to reference a particular spatial reference object. For example the European Petroleum Survey Group (EPSG) maintains a database of coordinate systems, and other spatial referencing objects, where each object has a code number ID. For example, the EPSG code for a WGS84 Lat/Lon coordinate system is "4326".

This class defines a default implementation for most methods defined in the DatumAuthorityFactory, CSAuthorityFactory and CRSAuthorityFactory interfaces. However, those interfaces do not appear in the implements clause of this class declaration. This is up to subclasses to decide which interfaces they declare to implement.

The default implementation for all createFoo methods ultimately invokes createObject(java.lang.String), which may be the only method that a subclass need to override. However, other methods may be overridden as well for better performances.

Since:
2.1
Author:
Martin Desruisseaux (IRD)