|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgistoolkit.datasources.SimpleDataSource
gistoolkit.datasources.webservice.OGCWebServiceDataSource
Data source for reading images from an OGC WebMapService.
Field Summary |
Fields inherited from class gistoolkit.datasources.SimpleDataSource |
|
Constructor Summary | |
OGCWebServiceDataSource()
Creates new OGCWebServiceDataSource |
Method Summary | |
void |
connect()
Connect to the data source |
Layer[] |
getAvailableLayers()
Retrieve the available layers |
java.lang.String[] |
getAvailableMapFormats()
Retrieve the available map formats |
Layer[] |
getLayers()
Retrieve the list of layers |
java.lang.String |
getName()
Returns the identifier string for the datasource. |
Node |
getNode()
Get the configuration information for this data source |
java.lang.String |
getService()
Retrive the name of the service |
java.lang.String |
getURLBase()
Retrieve the base URL for reading information from this datasource |
boolean |
isUpdateable()
Determines if this datasource is updateable. |
Envelope |
readEnvelope()
Returns the bounding rectangle of all the shapes in the Data Source. |
protected GISDataset |
readShapes(Envelope inEnvelope)
This method should return the shapes from the data source |
void |
setImageHeight(int inHeight)
Set the height of the image to retrieve. |
void |
setImageWidth(int inWidth)
Set the width of the image to retrieve. |
void |
setLayers(Layer[] inLayers)
Set the list of layers |
void |
setName(java.lang.String inName)
Sets an identifier string for the datasource. |
void |
setNode(Node inNode)
Set the configuration information for this data source |
void |
setSelectedMapFormat(java.lang.String inFormat)
Set the Selected map format |
void |
setService(java.lang.String inService)
set the service name of the service when connecting to an ESRI service |
void |
setURLBase(java.lang.String inURLBase)
Set the base URL for reading information from this datasource |
Methods inherited from class gistoolkit.datasources.SimpleDataSource |
addDataSourceListener, clearCache, commit, delete, doCommit, doDelete, doInsert, doRollback, doUpdate, filterDataset, fireCommit, fireDelete, fireInsert, fireRead, fireRollBack, fireUpdate, getCached, getCacheDataset, getCacheEnvelope, getEnvelope, getFilter, getFromProjection, getStyle, getToProjection, getValidShapeTypes, insert, isCachedProjected, projectBackward, projectForward, queryFromCache, readDataset, readDataset, removeDataSourceListener, rollback, setCache, setCached, setFilter, setFromProjection, setProjection, setToProjection, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface gistoolkit.datasources.DataSource |
addDataSourceListener, commit, delete, getEnvelope, getFilter, getFromProjection, getStyle, getToProjection, insert, readDataset, readDataset, removeDataSourceListener, rollback, setFilter, setFromProjection, setToProjection, update |
Constructor Detail |
public OGCWebServiceDataSource()
Method Detail |
public void setURLBase(java.lang.String inURLBase)
public java.lang.String getURLBase()
public void setService(java.lang.String inService)
public java.lang.String getService()
public void setName(java.lang.String inName)
setName
in interface DataSource
setName
in class SimpleDataSource
public java.lang.String getName()
getName
in interface DataSource
getName
in class SimpleDataSource
public Layer[] getLayers()
public void setLayers(Layer[] inLayers)
public boolean isUpdateable()
isUpdateable
in interface DataSource
isUpdateable
in class SimpleDataSource
public void connect() throws java.lang.Exception
java.lang.Exception
public Node getNode()
getNode
in interface DataSource
getNode
in class SimpleDataSource
public void setNode(Node inNode) throws java.lang.Exception
setNode
in interface DataSource
setNode
in class SimpleDataSource
java.lang.Exception
public Layer[] getAvailableLayers()
public void setImageWidth(int inWidth)
setImageWidth
in interface RasterDatasource
public void setImageHeight(int inHeight)
setImageHeight
in interface RasterDatasource
public java.lang.String[] getAvailableMapFormats()
public void setSelectedMapFormat(java.lang.String inFormat)
public Envelope readEnvelope() throws java.lang.Exception
readEnvelope
in class SimpleDataSource
java.lang.Exception
protected GISDataset readShapes(Envelope inEnvelope) throws java.lang.Exception
readShapes
in class SimpleDataSource
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |