org.geotiff.epsg
Class HorizontalCS

java.lang.Object
  extended by org.geotiff.epsg.HorizontalCS
Direct Known Subclasses:
GeographicCS, ProjectedCS

public abstract class HorizontalCS
extends java.lang.Object

Represents the base class of the EPSG horizontal coordinate systems. It is also contains the factory method for constructing these things.

Author:
Niles D. Ritter

Field Summary
static int WGS84
           
 
Constructor Summary
protected HorizontalCS(int code)
           
 
Method Summary
static HorizontalCS create(int code)
          Factory method for coordinate systems.
 int getCode()
           
abstract  HorizontalCS getGeographicCS()
          This method must be implemented by the extendend class to return the undelying geographic coordinate system.
protected  void setCode(int aCode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WGS84

public static int WGS84
Constructor Detail

HorizontalCS

protected HorizontalCS(int code)
Method Detail

setCode

protected void setCode(int aCode)

getCode

public int getCode()

getGeographicCS

public abstract HorizontalCS getGeographicCS()
This method must be implemented by the extendend class to return the undelying geographic coordinate system.


create

public static HorizontalCS create(int code)
                           throws InvalidCodeException
Factory method for coordinate systems.

Throws:
InvalidCodeException