gistoolkit.server.mapclient.wmsclient
Class WMSClient100

java.lang.Object
  extended bygistoolkit.server.mapclient.wmsclient.WMSClient
      extended bygistoolkit.server.mapclient.wmsclient.WMSClient100

public class WMSClient100
extends WMSClient

Client for the OGC 1.0.0 version web services.


Constructor Summary
WMSClient100()
          Creates new OGCWebServiceClient100
 
Method Summary
 void connect()
          Connect to the web service.
 java.lang.String getAbstract()
          Get the abstract for the service
 java.lang.String getAccessConstraints()
          Retrieve the access constraints for this servcie
 java.lang.String[] getExceptionFormats()
          Return the available formats for exceptions
 java.lang.String getFees()
          Retrieve the Fees to be charged for the use of the service
 int getHeight()
          Retrieve the height of the resulting image
 Layer[] getLayers()
          Return the Available Layers
 java.lang.String[] getMapFormats()
          Return the available formats for the map
 java.lang.String getMapURL()
          Return the URL where the map can be found
 Layer[] getSelectedLayers()
          Retrieve the selected layers
 java.lang.String getSelectedMapFormat()
          Retrieve the selected map format
 java.lang.String getServiceName()
          Get the service Name
 java.lang.String getServiceURL()
          Get the Online Resource for the actual service
 java.lang.String getTitle()
          Get the title of the service
 int getWidth()
          Retrieve the width of the resulting image
 java.awt.Image read(Extents inExtents)
          Read the data source with the given extents
 void setHeight(int inHeight)
          Set the height of the resulting image
 void setSelectedLayers(Layer[] inLayers)
          Set the selected Layers
 void setSelectedMapFormat(java.lang.String inMapFormat)
          Set the selected map format
 void setWidth(int inWidth)
          Set the width of the resulting image
 
Methods inherited from class gistoolkit.server.mapclient.wmsclient.WMSClient
getService, getURLBase, setService, setURLBase
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WMSClient100

public WMSClient100()
Creates new OGCWebServiceClient100

Method Detail

connect

public void connect()
             throws java.lang.Exception
Connect to the web service. Throws an exception if it can not connect to the data source.

Specified by:
connect in class WMSClient
Throws:
java.lang.Exception

getServiceName

public java.lang.String getServiceName()
Get the service Name


getTitle

public java.lang.String getTitle()
Get the title of the service


getAbstract

public java.lang.String getAbstract()
Get the abstract for the service


getServiceURL

public java.lang.String getServiceURL()
Get the Online Resource for the actual service


getFees

public java.lang.String getFees()
Retrieve the Fees to be charged for the use of the service


getAccessConstraints

public java.lang.String getAccessConstraints()
Retrieve the access constraints for this servcie


getMapURL

public java.lang.String getMapURL()
Return the URL where the map can be found


getMapFormats

public java.lang.String[] getMapFormats()
Return the available formats for the map

Specified by:
getMapFormats in class WMSClient

setSelectedMapFormat

public void setSelectedMapFormat(java.lang.String inMapFormat)
Set the selected map format

Specified by:
setSelectedMapFormat in class WMSClient

getSelectedMapFormat

public java.lang.String getSelectedMapFormat()
Retrieve the selected map format


getExceptionFormats

public java.lang.String[] getExceptionFormats()
Return the available formats for exceptions


getLayers

public Layer[] getLayers()
Return the Available Layers

Specified by:
getLayers in class WMSClient

setSelectedLayers

public void setSelectedLayers(Layer[] inLayers)
Set the selected Layers

Specified by:
setSelectedLayers in class WMSClient

getSelectedLayers

public Layer[] getSelectedLayers()
Retrieve the selected layers

Specified by:
getSelectedLayers in class WMSClient

setWidth

public void setWidth(int inWidth)
Set the width of the resulting image

Specified by:
setWidth in class WMSClient

getWidth

public int getWidth()
Retrieve the width of the resulting image


setHeight

public void setHeight(int inHeight)
Set the height of the resulting image

Specified by:
setHeight in class WMSClient

getHeight

public int getHeight()
Retrieve the height of the resulting image


read

public java.awt.Image read(Extents inExtents)
                    throws java.lang.Exception
Description copied from class: WMSClient
Read the data source with the given extents

Specified by:
read in class WMSClient
Throws:
java.lang.Exception