org.deegree.feature.persistence.postgis
Class PostGISFeatureStoreProvider

java.lang.Object
  extended by org.deegree.feature.persistence.postgis.PostGISFeatureStoreProvider
All Implemented Interfaces:
FeatureStoreProvider

public class PostGISFeatureStoreProvider
extends java.lang.Object
implements FeatureStoreProvider

FeatureStoreProvider for the PostGISFeatureStore.

Version:
$Revision: 27972 $, $Date: 2010-11-10 12:15:34 +0100 (Mi, 10. Nov 2010) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Constructor Summary
PostGISFeatureStoreProvider()
           
 
Method Summary
 java.lang.String getConfigNamespace()
          Returns the namespace for configurations documents that this provider handles.
 java.net.URL getConfigSchema()
          Returns the URL for retrieving the configuration document schema.
 java.net.URL getConfigTemplate()
          Returns the URL for retrieving the configuration document template.
 java.lang.String[] getDDL(java.net.URL configURL)
          Returns the CREATE-statements for setting up the tables needed for the referenced configuration.
 FeatureStore getFeatureStore(java.net.URL configURL)
          Creates a new FeatureStore instance from the given configuration document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostGISFeatureStoreProvider

public PostGISFeatureStoreProvider()
Method Detail

getConfigNamespace

public java.lang.String getConfigNamespace()
Description copied from interface: FeatureStoreProvider
Returns the namespace for configurations documents that this provider handles.

Specified by:
getConfigNamespace in interface FeatureStoreProvider
Returns:
the namespace for configurations documents, never null

getConfigSchema

public java.net.URL getConfigSchema()
Description copied from interface: FeatureStoreProvider
Returns the URL for retrieving the configuration document schema.

Specified by:
getConfigSchema in interface FeatureStoreProvider
Returns:
the URL for retrieving the configuration document schema, may be null

getConfigTemplate

public java.net.URL getConfigTemplate()
Description copied from interface: FeatureStoreProvider
Returns the URL for retrieving the configuration document template.

Specified by:
getConfigTemplate in interface FeatureStoreProvider
Returns:
the URL for retrieving the configuration document template, may be null

getFeatureStore

public FeatureStore getFeatureStore(java.net.URL configURL)
                             throws FeatureStoreException
Description copied from interface: FeatureStoreProvider
Creates a new FeatureStore instance from the given configuration document.

Specified by:
getFeatureStore in interface FeatureStoreProvider
Parameters:
configURL - location of the configuration document, must not be null
Returns:
new feature store instance, configured, not initialized yet
Throws:
FeatureStoreException - if the configuration contains an error or creation fails

getDDL

public java.lang.String[] getDDL(java.net.URL configURL)
                          throws FeatureStoreException
Returns the CREATE-statements for setting up the tables needed for the referenced configuration.

Parameters:
configURL - URL of the configuration document, must not be null
Returns:
CREATE statements, one statement per entry, never null
Throws:
FeatureStoreException


Copyright © 2011. All Rights Reserved.