org.hibernatespatial.spi
Interface SpatialDialectProvider


public interface SpatialDialectProvider

Interface that is implemented by a SpatialDialect Provider.

A SpatialDialectProvider creates a SpatialDialect for one or more database systems. These databases are identified by a dialect string. Usually this is the fully qualified class name of a org.hibernate.dialect.Dialect or SpatialDialect implementation

Author:
Karel Maesen, Geovise BVBA

Method Summary
 SpatialDialect createSpatialDialect(String dialect)
          create Spatial Dialect with the provided name.
 SpatialDialect getDefaultDialect()
          Returns the default dialect for this provider.
 String[] getSupportedDialects()
          Returns the Dialect names

This method must return the canonical class names of the Spatialdialect implementations that this provider provides.

 

Method Detail

createSpatialDialect

SpatialDialect createSpatialDialect(String dialect)
create Spatial Dialect with the provided name.

Parameters:
dialect - Name of the dialect to create.
Returns:
a SpatialDialect

getDefaultDialect

SpatialDialect getDefaultDialect()
Returns the default dialect for this provider.

Returns:
The Default Dialect provided by the implementation.

Implementations should never return null for this method.


getSupportedDialects

String[] getSupportedDialects()
Returns the Dialect names

This method must return the canonical class names of the Spatialdialect implementations that this provider provides.

Returns:
array of dialect names.


Copyright © 2011 hibernatespatial.org. All Rights Reserved.