org.hibernatespatial
Class HBSpatialExtension

java.lang.Object
  extended by org.hibernatespatial.HBSpatialExtension

public class HBSpatialExtension
extends Object

This is the bootstrap class that is used to get an SpatialDialect.

It also provides a default SpatialDialect. GeometryUserTypes that do not have a dialect parameter use this default.

The default SpatialDialect will be the first one that is returned by the getDefaultDialect method of the provider at least if it is non null.

Author:
Karel Maesen

Field Summary
protected static List<SpatialDialectProvider> providers
           
 
Method Summary
static SpatialDialect createSpatialDialect(String dialectName)
           
static HSConfiguration getConfiguration()
           
static MGeometryFactory getDefaultGeomFactory()
           
static SpatialDialect getDefaultSpatialDialect()
           
static void setConfiguration(HSConfiguration c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

providers

protected static List<SpatialDialectProvider> providers
Method Detail

setConfiguration

public static void setConfiguration(HSConfiguration c)

getConfiguration

public static HSConfiguration getConfiguration()

getDefaultSpatialDialect

public static SpatialDialect getDefaultSpatialDialect()

createSpatialDialect

public static SpatialDialect createSpatialDialect(String dialectName)

getDefaultGeomFactory

public static MGeometryFactory getDefaultGeomFactory()


Copyright © 2011 hibernatespatial.org. All Rights Reserved.