org.hibernate.spatial.dialect.sqlserver.convertors
Class Decoders

java.lang.Object
  extended by org.hibernate.spatial.dialect.sqlserver.convertors.Decoders

public class Decoders
extends java.lang.Object

Decodes SQL Server Geometry objects to JTS Geometrys.


Constructor Summary
Decoders()
           
 
Method Summary
static com.vividsolutions.jts.geom.Geometry decode(byte[] raw)
          Decodes the SQL Server Geometry object to its JTS Geometry instance
static Decoder<? extends com.vividsolutions.jts.geom.Geometry> decoderFor(OpenGisType type)
          Returns the decoder capable of decoding an object of the specified OpenGisType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Decoders

public Decoders()
Method Detail

decode

public static com.vividsolutions.jts.geom.Geometry decode(byte[] raw)
Decodes the SQL Server Geometry object to its JTS Geometry instance

Parameters:
raw -
Returns:

decoderFor

public static Decoder<? extends com.vividsolutions.jts.geom.Geometry> decoderFor(OpenGisType type)
Returns the decoder capable of decoding an object of the specified OpenGisType

Parameters:
type - OpenGisType for which a decoder is returned
Returns: