org.wkb4j.openmap
Class OpenMapGetter

java.lang.Object
  |
  +--org.wkb4j.engine.AbstractWKBGetter
        |
        +--org.wkb4j.openmap.OpenMapGetter
All Implemented Interfaces:
WKBGetter

public class OpenMapGetter
extends AbstractWKBGetter

Retrieves PostGIS geometries from the specified database Connectiion and return them in a List. This is the simplest interface offered by WKB4J. If it does not match your needs, you will need to handle the WKBParser, WKBReader and WKBFactory yourself. org.wkb4j.examples.SampleCode is provided as an example.


Field Summary
protected static org.apache.log4j.Logger log
           
 
Fields inherited from class org.wkb4j.engine.AbstractWKBGetter
factory, parser, reader
 
Constructor Summary
OpenMapGetter()
           
 
Method Summary
 java.util.List getData(java.sql.Connection dbConn, java.lang.String sqlQuery)
           
 java.util.List getData(java.sql.Connection dbConn, java.lang.String table, java.lang.String geocolumn, java.lang.String whereClause)
           
 com.bbn.openmap.omGraphics.OMGraphicList getOMGraphicList(java.sql.Connection dbConn, java.lang.String sqlQuery)
           
 com.bbn.openmap.omGraphics.OMGraphicList getOMGraphicList(java.sql.Connection dbConn, java.lang.String geocolumn, java.lang.String table, java.lang.String whereClause)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.log4j.Logger log
Constructor Detail

OpenMapGetter

public OpenMapGetter()
Method Detail

getOMGraphicList

public com.bbn.openmap.omGraphics.OMGraphicList getOMGraphicList(java.sql.Connection dbConn,
                                                                 java.lang.String geocolumn,
                                                                 java.lang.String table,
                                                                 java.lang.String whereClause)

getOMGraphicList

public com.bbn.openmap.omGraphics.OMGraphicList getOMGraphicList(java.sql.Connection dbConn,
                                                                 java.lang.String sqlQuery)

getData

public java.util.List getData(java.sql.Connection dbConn,
                              java.lang.String table,
                              java.lang.String geocolumn,
                              java.lang.String whereClause)

getData

public java.util.List getData(java.sql.Connection dbConn,
                              java.lang.String sqlQuery)


Copyright © 2002-2003 David Garnier. All Rights Reserved.