Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.instance.geometry.impl
Class WKTDefinition

java.lang.Object
  extended by eu.esdihumboldt.hale.common.instance.geometry.impl.WKTDefinition
All Implemented Interfaces:
CRSDefinition, Serializable

public class WKTDefinition
extends Object
implements CRSDefinition

CRS definition based on WKT

Author:
Simon Templer
See Also:
Serialized Form

Constructor Summary
WKTDefinition(String wkt, org.opengis.referencing.crs.CoordinateReferenceSystem crs)
          Constructor
 
Method Summary
 boolean equals(Object obj)
           
 org.opengis.referencing.crs.CoordinateReferenceSystem getCRS()
          Get the coordinate reference system
 String getWkt()
          Get the WKT
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WKTDefinition

public WKTDefinition(String wkt,
                     org.opengis.referencing.crs.CoordinateReferenceSystem crs)
Constructor

Parameters:
wkt - the WKT defining the CRS
crs - the coordinate reference system, may be null
Method Detail

getCRS

public org.opengis.referencing.crs.CoordinateReferenceSystem getCRS()
Description copied from interface: CRSDefinition
Get the coordinate reference system

Specified by:
getCRS in interface CRSDefinition
Returns:
the coordinate reference system
See Also:
CRSDefinition.getCRS()

getWkt

public String getWkt()
Get the WKT

Returns:
the well known text representation of the CRS

hashCode

public int hashCode()
Overrides:
hashCode in class Object
See Also:
Object.hashCode()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d