com.mizar.mapviewer.provider
Class PointlessMapProvider

java.lang.Object
  extended by com.mizar.mapviewer.provider.PointlessMapProvider
All Implemented Interfaces:
oracle.mapviewer.share.ext.SDataProvider

public class PointlessMapProvider
extends java.lang.Object
implements oracle.mapviewer.share.ext.SDataProvider

This class is a placeholder example of how to write a MapProvider. It is Pointless because it uses Oracle Spatial as a data source. See Oracle´┐Ż Fusion Middleware User's Guide for Oracle MapViewer 11g Release 1 (11.1.1) E10145-01 May 2009 Appendix D -- Creating and Registering a Custom Spatial Data Provider


Constructor Summary
PointlessMapProvider()
           
 
Method Summary
 oracle.mapviewer.share.ext.SDataSet buildDataSet(java.awt.geom.Rectangle2D rectangle2D, java.lang.String[] strings, java.util.Properties properties)
           
 boolean buildSpatialIndex(java.util.Properties properties)
           
 oracle.mapviewer.share.Field[] getAttributeList(java.util.Properties properties)
           
 java.awt.geom.Rectangle2D getDataExtents(java.util.Properties properties)
           
 java.lang.String[] getInitParameterNames()
           
 java.lang.String[] getRuntimeParameterNames()
           
 boolean init(java.util.Properties properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PointlessMapProvider

public PointlessMapProvider()
Method Detail

getInitParameterNames

public java.lang.String[] getInitParameterNames()
Specified by:
getInitParameterNames in interface oracle.mapviewer.share.ext.SDataProvider

getRuntimeParameterNames

public java.lang.String[] getRuntimeParameterNames()
Specified by:
getRuntimeParameterNames in interface oracle.mapviewer.share.ext.SDataProvider

init

public boolean init(java.util.Properties properties)
Specified by:
init in interface oracle.mapviewer.share.ext.SDataProvider

buildDataSet

public oracle.mapviewer.share.ext.SDataSet buildDataSet(java.awt.geom.Rectangle2D rectangle2D,
                                                        java.lang.String[] strings,
                                                        java.util.Properties properties)
Specified by:
buildDataSet in interface oracle.mapviewer.share.ext.SDataProvider

getAttributeList

public oracle.mapviewer.share.Field[] getAttributeList(java.util.Properties properties)
Specified by:
getAttributeList in interface oracle.mapviewer.share.ext.SDataProvider

getDataExtents

public java.awt.geom.Rectangle2D getDataExtents(java.util.Properties properties)
Specified by:
getDataExtents in interface oracle.mapviewer.share.ext.SDataProvider

buildSpatialIndex

public boolean buildSpatialIndex(java.util.Properties properties)
Specified by:
buildSpatialIndex in interface oracle.mapviewer.share.ext.SDataProvider