org.gvsig.fmap.geom.impl.coerce
Class CoerceToGeometry

java.lang.Object
  extended by 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

Constructor Summary
CoerceToGeometry()
           
 
Method Summary
 Object coerce(Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoerceToGeometry

public CoerceToGeometry()
Method Detail

coerce

public Object coerce(Object value)
              throws CoercionException
Specified by:
coerce in interface DataTypesManager.Coercion
Throws:
CoercionException


Copyright © 2004-2012 gvSIG. All Rights Reserved.