org.geotools.data.complex.config
Class AppSchemaDataAccessConfigurator

java.lang.Object
  extended by org.geotools.data.complex.config.AppSchemaDataAccessConfigurator

public class AppSchemaDataAccessConfigurator
extends java.lang.Object

Utility class to create a set of objects from a complex datastore's configuration object ( AppSchemaDataAccessDTO).

Since:
2.4
Version:
$Id: AppSchemaDataAccessConfigurator.java 35576 2010-05-25 05:47:07Z bencaradocdavies $
Author:
Gabriel Roldan, Axios Engineering, Rini Angreani, Curtin University of Technology, Russell Petty, GSV

Method Summary
static java.util.Set buildMappings(AppSchemaDataAccessDTO config)
          Takes a config object and creates a set of mappings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

buildMappings

public static java.util.Set buildMappings(AppSchemaDataAccessDTO config)
                                   throws java.io.IOException
Takes a config object and creates a set of mappings.

In the process will parse xml schemas to geotools' Feature Model types and descriptors, connect to source datastores and build the mapping objects from source FeatureTypes to the target ones.

Parameters:
config - DOCUMENT ME!
Returns:
a Set of FeatureTypeMapping source to target FeatureType mapping definitions
Throws:
java.io.IOException - if any error occurs while creating the mappings


Copyright © 1996-2010 Geotools. All Rights Reserved.