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

org.deegree.model.crs
Class CRSFactory

java.lang.Object
  extended by org.deegree.model.crs.CRSFactory

public class CRSFactory
extends Object

Since:
2.0
Version:
$Revision: 6259 $, 1.0. $Revision: 6259 $, $Date: 2007-03-20 10:15:15 +0100 (Di, 20 Mär 2007) $
Author:
Andreas Poth, last edited by: $Author: bezema $

Constructor Summary
CRSFactory()
           
 
Method Summary
static CoordinateSystem create(String name)
          e.g. epgs:4326
static CoordinateSystem create(String prefix, String localName, URI namespace)
           
static CoordinateSystem create(String name, URI namespace)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CRSFactory

public CRSFactory()
Method Detail

create

public static CoordinateSystem create(String prefix,
                                      String localName,
                                      URI namespace)
                               throws UnknownCRSException
Parameters:
prefix - must be not null
localName -
namespace -
Returns:
a CoordinateSystem corresponding to the given name, prefix and namespace
Throws:
UnknownCRSException

create

public static CoordinateSystem create(String name,
                                      URI namespace)
                               throws UnknownCRSException
Parameters:
name -
namespace -
Returns:
a CoordinateSystem corresponding to the given name and namespace
Throws:
UnknownCRSException

create

public static CoordinateSystem create(String name)
                               throws UnknownCRSException
e.g. epgs:4326

Parameters:
name -
Returns:
a CoordinateSystem corresponding to the given name
Throws:
UnknownCRSException - if the crs-name is not known

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