|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.services.wfs.oracle.DataStoreOutputFC
Implements the DataStoreOutputFormat interface to format the result of a data accessing class returned within the values of a HashMap as deegree feature collection
-----------------------------------------------------------------------
Constructor Summary | |
DataStoreOutputFC()
|
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 |
private GM_Object |
createGeometry(java.io.ByteArrayOutputStream bos,
CS_CoordinateSystem srs)
creates FeatureCollections from OGC WKBs |
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 |
formatTable(java.util.HashMap map,
ParameterList parameter)
formats the data store at the values of the HashMap into one single data structure. |
private int |
getGeometryType(byte[] wkb)
|
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 |
public DataStoreOutputFC()
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
DataStoreOutputFormat.format(java.util.HashMap, org.deegree.tools.ParameterList)
public java.lang.Object formatTable(java.util.HashMap map, ParameterList parameter) 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 GM_Object createGeometry(java.io.ByteArrayOutputStream bos, CS_CoordinateSystem srs) throws java.lang.Exception
bos
- wkb datastructuresrs
- spatial reference system used for each feature within the
feature collection.
java.lang.Exception
private int getGeometryType(byte[] wkb) throws GM_Exception
GM_Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |