org.deegree_impl.services.wfs.gml
Class GMLDBDataStoreOutputFC

java.lang.Object
  extended byorg.deegree_impl.services.wfs.gml.GMLDBDataStoreOutputFC
All Implemented Interfaces:
DataStoreOutputFormat

public class GMLDBDataStoreOutputFC
extends java.lang.Object
implements DataStoreOutputFormat

Implements the DataStoreOutputFormat interface to format the result of a data accessing class returned within the values of a HashMap as deegree feature collection

-----------------------------------------------------------------------

Version:
$Revision: 1.17 $ $Date: 2004/03/05 07:42:15 $

Author:
Andreas Poth

Constructor Summary
GMLDBDataStoreOutputFC()
           
 
Method Summary
private  FeatureType createFeatureType(FeatureType ft, Table table)
          returns the feature type calculated from the column names and column types of the submitted table
 java.lang.Object format(java.util.HashMap map, ParameterList parameter)
          formats the data store at the values of the HashMap into one single data structure.
 java.lang.Object format(java.util.HashMap map, ParameterList parameter, Filter filter)
          formats the data store at the values of the HashMap into one single data structure.
private  FeatureCollection tableToFC(Table table, ParameterList pl, FeatureCollection fc)
          creates a FeatureCollection from a Table. the method is recursivly called to create complex features.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GMLDBDataStoreOutputFC

public GMLDBDataStoreOutputFC()
Method Detail

format

public java.lang.Object format(java.util.HashMap map,
                               ParameterList parameter)
                        throws java.lang.Exception
Description copied from interface: DataStoreOutputFormat
formats the data store at the values of the HashMap into one single data structure.

Specified by:
format in interface DataStoreOutputFormat
Throws:
java.lang.Exception

format

public java.lang.Object format(java.util.HashMap map,
                               ParameterList parameter,
                               Filter filter)
                        throws java.lang.Exception
formats the data store at the values of the HashMap into one single data structure.

Throws:
java.lang.Exception

tableToFC

private FeatureCollection tableToFC(Table table,
                                    ParameterList pl,
                                    FeatureCollection fc)
                             throws java.lang.Exception
creates a FeatureCollection from a Table. the method is recursivly called to create complex features.

Throws:
java.lang.Exception

createFeatureType

private FeatureType createFeatureType(FeatureType ft,
                                      Table table)
returns the feature type calculated from the column names and column types of the submitted table