deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.tools.datastore
Class DBSchemaToDatastoreConf

java.lang.Object
  extended by org.deegree.tools.datastore.DBSchemaToDatastoreConf

public class DBSchemaToDatastoreConf
extends java.lang.Object

Example: java -classpath .;deegree.jar;$databasedriver.jar org.deegree.tools.datastore.DBSchemaToDatastoreConf -tables mytable,myothertable -user dev -password dev -driver oracle.jdbc.OracleDriver -url jdbc:oracle:thin:@localhost:1521:devs -output e:/temp/schema.xsd
or for shapefile:
java -classpath .;deegree.jar org.deegree.tools.datastore.DBSchemaToDatastoreConf -url c:/data/myshape -driver SHAPE -output e:/temp/schema.xsd

Version:
$Revision: 8049 $, $Date: 2007-08-23 10:19:28 +0200 (Do, 23 Aug 2007) $
Author:
Andreas Poth, last edited by: $Author: apoth $

Constructor Summary
DBSchemaToDatastoreConf(java.lang.String[] tables, java.lang.String user, java.lang.String pw, java.lang.String driver, java.lang.String logon, java.lang.String srs, java.lang.String pkey, java.lang.Integer srid, java.lang.String insert, java.lang.String update, java.lang.String delete, java.lang.String idGenerator, java.lang.String sequence, java.lang.String omitFidAsProperty)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 java.lang.String run()
          creates a schema/datastore configuration for accessin database table through deegree WFS
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBSchemaToDatastoreConf

public DBSchemaToDatastoreConf(java.lang.String[] tables,
                               java.lang.String user,
                               java.lang.String pw,
                               java.lang.String driver,
                               java.lang.String logon,
                               java.lang.String srs,
                               java.lang.String pkey,
                               java.lang.Integer srid,
                               java.lang.String insert,
                               java.lang.String update,
                               java.lang.String delete,
                               java.lang.String idGenerator,
                               java.lang.String sequence,
                               java.lang.String omitFidAsProperty)
                        throws java.io.IOException
Parameters:
tables - list of table names used for one featuretype
user - database user
pw - users password
driver - database driver
logon - database URL/logon
srs -
Throws:
java.io.IOException
Method Detail

run

public java.lang.String run()
                     throws java.lang.Exception
creates a schema/datastore configuration for accessin database table through deegree WFS

Returns:
a schema/datastore configuration for accessin database table through deegree WFS
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Parameters:
args -
Throws:
java.io.IOException
org.xml.sax.SAXException
javax.xml.transform.TransformerException
java.lang.Exception

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org