org.deegree.metadata.persistence.iso
Class ISOMetadataStoreProvider

java.lang.Object
  extended by org.deegree.metadata.persistence.iso.ISOMetadataStoreProvider
All Implemented Interfaces:
MetadataStoreProvider

public class ISOMetadataStoreProvider
extends java.lang.Object
implements MetadataStoreProvider

MetadataStoreProvider for the ISOMetadataStore.

Version:
$Revision: 28024 $, $Date: 2010-11-11 16:32:32 +0100 (Do, 11. Nov 2010) $
Author:
Steffen Thomas, last edited by: $Author: sthomas $

Constructor Summary
ISOMetadataStoreProvider()
           
 
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[] getCreateStatements(java.net.URL configURL)
           
 java.lang.String[] getDefaultCreateStatements()
           
 java.lang.String[] getDropStatements(java.net.URL configURL)
           
 MetadataStore getMetadataStore(java.net.URL configURL)
          Creates a new MetadataStore 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

ISOMetadataStoreProvider

public ISOMetadataStoreProvider()
Method Detail

getConfigNamespace

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

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

getConfigSchema

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

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

getConfigTemplate

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

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

getCreateStatements

public java.lang.String[] getCreateStatements(java.net.URL configURL)
                                       throws java.io.UnsupportedEncodingException,
                                              java.io.IOException
Specified by:
getCreateStatements in interface MetadataStoreProvider
Throws:
java.io.UnsupportedEncodingException
java.io.IOException

getDefaultCreateStatements

public java.lang.String[] getDefaultCreateStatements()
                                              throws java.io.UnsupportedEncodingException,
                                                     java.io.IOException
Specified by:
getDefaultCreateStatements in interface MetadataStoreProvider
Throws:
java.io.UnsupportedEncodingException
java.io.IOException

getDropStatements

public java.lang.String[] getDropStatements(java.net.URL configURL)
                                     throws java.io.UnsupportedEncodingException,
                                            java.io.IOException
Specified by:
getDropStatements in interface MetadataStoreProvider
Throws:
java.io.UnsupportedEncodingException
java.io.IOException

getMetadataStore

public MetadataStore getMetadataStore(java.net.URL configURL)
                               throws MetadataStoreException
Description copied from interface: MetadataStoreProvider
Creates a new MetadataStore instance from the given configuration document.

Specified by:
getMetadataStore in interface MetadataStoreProvider
Parameters:
configURL - location of the configuration document, must not be null
Returns:
new feature store instance, configured, not initialized yet
Throws:
MetadataStoreException


Copyright © 2011. All Rights Reserved.