|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.services.wfs.db.PointDBDataStoreOutputFC
Implements the DataStoreOutputFormat interface to format the result of a data accessing class returned within the values of a HashMap as deegree feature collection
-----------------------------------------------------------------------
Field Summary | |
(package private) ConvenienceCSFactory |
csFactory
|
Constructor Summary | |
PointDBDataStoreOutputFC()
|
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 int |
getColumnIndex(java.lang.String[] columnNames,
java.lang.String name)
returns the index of the column with the submitted name. if the column isn't contained within the columnNames array -1 will be returned |
private GM_Object |
getGeometry(java.lang.String x,
java.lang.String y,
java.lang.String crs)
returns a GM_Point object created from the submitted x, y value and coordinate reference system. |
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 |
Field Detail |
ConvenienceCSFactory csFactory
Constructor Detail |
public PointDBDataStoreOutputFC()
Method Detail |
public java.lang.Object format(java.util.HashMap map, ParameterList parameter) throws java.lang.Exception
DataStoreOutputFormat
format
in interface DataStoreOutputFormat
java.lang.Exception
public java.lang.Object format(java.util.HashMap map, ParameterList parameter, Filter filter) throws java.lang.Exception
java.lang.Exception
private FeatureCollection tableToFC(Table table, ParameterList pl, FeatureCollection fc) throws java.lang.Exception
java.lang.Exception
private FeatureType createFeatureType(FeatureType ft, Table table)
private int getColumnIndex(java.lang.String[] columnNames, java.lang.String name)
private GM_Object getGeometry(java.lang.String x, java.lang.String y, java.lang.String crs)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |