Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.convert.wkt.internal
Class AbstractGeometryConverter<T extends com.vividsolutions.jts.geom.Geometry>

java.lang.Object
  extended by eu.esdihumboldt.hale.common.convert.wkt.internal.AbstractGeometryConverter<T>
Type Parameters:
T - Geometry Type to convert to
All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<String,T>
Direct Known Subclasses:
StringToGeometry, StringToGeometryCollection, StringToLinearRing, StringToLineString, StringToMultiLineString, StringToMultiPoint, StringToMultipolygon, StringToPoint, StringToPolygon

public abstract class AbstractGeometryConverter<T extends com.vividsolutions.jts.geom.Geometry>
extends Object
implements org.springframework.core.convert.converter.Converter<String,T>

Converts strings to geometries

Author:
Kevin Mais

Constructor Summary
AbstractGeometryConverter()
           
 
Method Summary
 T convert(String string)
           
static com.vividsolutions.jts.io.WKTReader getReader()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractGeometryConverter

public AbstractGeometryConverter()
Method Detail

getReader

public static com.vividsolutions.jts.io.WKTReader getReader()
Returns:
the reader

convert

public T convert(String string)
Specified by:
convert in interface org.springframework.core.convert.converter.Converter<String,T extends com.vividsolutions.jts.geom.Geometry>

Humboldt Alignment Editor 2.5.0

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