eu.esdihumboldt.hale.common.convert.wkt.internal
Class AbstractGeometryConverter<T extends com.vividsolutions.jts.geom.Geometry>
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractGeometryConverter
public AbstractGeometryConverter()
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>
Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d