org.deegree.tools.datastore
Class PostGISDDLGenerator
java.lang.Object
org.deegree.tools.datastore.DDLGenerator
org.deegree.tools.datastore.PostGISDDLGenerator
public class PostGISDDLGenerator
- extends DDLGenerator
Generator for PostGIS DDL (CREATE) operations to create PostGIS database schemas from annotated GML schema files.
- Version:
- $Revision: 7766 $, $Date: 2007-07-16 14:18:10 +0200 (Mo, 16 Jul 2007) $
- Author:
- Markus Schneider, last edited by: $Author: mschneider $
Constructor Summary |
PostGISDDLGenerator(URL schemaURL)
Generates a new instance of PostGISDDLGenerator , ready to generate DDL for the given schema. |
PostGISDDLGenerator
public PostGISDDLGenerator(URL schemaURL)
throws MalformedURLException,
IOException,
SAXException,
XMLParsingException,
XMLSchemaException,
UnknownCRSException
- Generates a new instance of
PostGISDDLGenerator
, ready to generate DDL for the given schema.
- Parameters:
schemaURL
-
- Throws:
MalformedURLException
IOException
SAXException
XMLParsingException
XMLSchemaException
UnknownCRSException
generateCreateStatements
protected StringBuffer generateCreateStatements(DDLGenerator.TableDefinition table)
- Generates the DDL statements necessary for the creation of the given table definition. This is the PostGIS
specific implementation.
- Specified by:
generateCreateStatements
in class DDLGenerator
- Parameters:
table
-
- Returns:
- the DDL statements necessary for the creation of the given table definition
generateDropStatements
protected StringBuffer generateDropStatements(DDLGenerator.TableDefinition table)
- Generates the DDL statements necessary for the removal of the given table definition. This is the PostGIS
specific implementation.
- Specified by:
generateDropStatements
in class DDLGenerator
- Parameters:
table
-
- Returns:
- the DDL statements necessary for the removal of the given table definition
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net