org.gvsig.fmap.geom.impl.coerce
Class CoerceToGeometry
java.lang.Object
org.gvsig.fmap.geom.impl.coerce.CoerceToGeometry
- All Implemented Interfaces:
- DataTypesManager.Coercion
public class CoerceToGeometry
- extends Object
- implements DataTypesManager.Coercion
Convert a object to Geometry.
Support convert:
- Geometry to Geometry (do nothing)
- WKB (byte[]) to Geometry
- WKT (String/toString) to Geometry
- Version:
- $Id$
- Author:
- gvSIG Team
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CoerceToGeometry
public CoerceToGeometry()
coerce
public Object coerce(Object value)
throws CoercionException
- Specified by:
coerce
in interface DataTypesManager.Coercion
- Throws:
CoercionException
Copyright © 2004-2012 gvSIG. All Rights Reserved.