deegree 2.1 (2007/11/08 09:57 build-328-official)

org.deegree.model.csct.cs
Class CoordinateSystemAuthorityFactory

java.lang.Object
  extended by org.deegree.model.csct.cs.CoordinateSystemAuthorityFactory

public abstract class CoordinateSystemAuthorityFactory
extends Object

Creates spatial reference objects using codes. The codes are maintained by an external authority. A commonly used authority is EPSG, which is also used in the GeoTIFF standard.

Version:
1.00, $Revision: 7055 $, $Date: 2007-05-10 09:26:53 +0200 (Do, 10 Mai 2007) $
Author:
OpenGIS (www.opengis.org), Martin Desruisseaux, last edited by: $Author: apoth $
See Also:
"org.opengis.cs.CS_CoordinateSystemAuthorityFactory"

Field Summary
protected  CoordinateSystemFactory factory
          The underlying factory used for objects creation.
 
Constructor Summary
CoordinateSystemAuthorityFactory(CoordinateSystemFactory factory)
          Construct an authority factory using the specified coordinate system factory.
 
Method Summary
 Ellipsoid createEllipsoid(String code)
          Returns an Ellipsoid object from a code.
 Unit createUnit(String code)
          Returns a Unit object from a code.
abstract  String getAuthority()
          Returns the authority name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

factory

protected final CoordinateSystemFactory factory
The underlying factory used for objects creation.

Constructor Detail

CoordinateSystemAuthorityFactory

public CoordinateSystemAuthorityFactory(CoordinateSystemFactory factory)
Construct an authority factory using the specified coordinate system factory.

Parameters:
factory - The underlying factory used for objects creation.
Method Detail

getAuthority

public abstract String getAuthority()
Returns the authority name.

Returns:
the authority name.

createEllipsoid

public Ellipsoid createEllipsoid(String code)
                          throws NoSuchElementException
Returns an Ellipsoid object from a code.

Parameters:
code - Value allocated by authority.
Returns:
The ellipsoid object.
Throws:
NoSuchElementException - if this method can't find the requested code.

createUnit

public Unit createUnit(String code)
                throws NoSuchElementException
Returns a Unit object from a code.

Parameters:
code - Value allocated by authority.
Returns:
The unit object.
Throws:
NoSuchElementException - if this method can't find the requested code.

deegree 2.1 (2007/11/08 09:57 build-328-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net