com.ontimize.util.gis.server.dataproviders
Class OpenStreetMapDataProvider

java.lang.Object
  extended by com.ontimize.util.gis.server.dataproviders.OpenStreetMapDataProvider
All Implemented Interfaces:
IDataProvider

public class OpenStreetMapDataProvider
extends java.lang.Object
implements IDataProvider

Data provider under development


Field Summary
protected  org.jdesktop.swingx.mapviewer.TileFactoryInfo info
           
protected  org.jdesktop.swingx.mapviewer.TileFactory tf
           
 
Constructor Summary
OpenStreetMapDataProvider()
           
OpenStreetMapDataProvider(java.util.Hashtable parameters)
           
 
Method Summary
 void initProvider(java.util.Hashtable<java.lang.String,java.lang.Object> parameters)
           
protected  com.ontimize.db.EntityResult parseURLWMSRequest(java.util.Hashtable<java.lang.String,java.lang.Object> appliedFilters)
           
 java.lang.Object query(java.lang.Object keysValues, java.lang.Object attributes, int sessionId)
          This method must implement a standard query operation returning the set of data that matches the conditions specified by the keysValues parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

info

protected org.jdesktop.swingx.mapviewer.TileFactoryInfo info

tf

protected org.jdesktop.swingx.mapviewer.TileFactory tf
Constructor Detail

OpenStreetMapDataProvider

public OpenStreetMapDataProvider()

OpenStreetMapDataProvider

public OpenStreetMapDataProvider(java.util.Hashtable parameters)
Method Detail

query

public java.lang.Object query(java.lang.Object keysValues,
                              java.lang.Object attributes,
                              int sessionId)
                       throws java.lang.Exception
Description copied from interface: IDataProvider
This method must implement a standard query operation returning the set of data that matches the conditions specified by the keysValues parameter. The attributes defines which attributes (or columns if data is obtained from a database) must be recovered, and keysValues specifies which set of records must be recovered.

Specified by:
query in interface IDataProvider
Parameters:
keysValues - Identifiers for the data
attributes - Data attributes to query
sessionId - Session Id for this user
Returns:
Requested data
Throws:
java.lang.Exception

initProvider

public void initProvider(java.util.Hashtable<java.lang.String,java.lang.Object> parameters)
Specified by:
initProvider in interface IDataProvider

parseURLWMSRequest

protected com.ontimize.db.EntityResult parseURLWMSRequest(java.util.Hashtable<java.lang.String,java.lang.Object> appliedFilters)