org.geotools.data.wms.request
Class AbstractDescribeLayerRequest

java.lang.Object
  extended byorg.geotools.data.wms.request.AbstractRequest
      extended byorg.geotools.data.wms.request.AbstractDescribeLayerRequest
All Implemented Interfaces:
DescribeLayerRequest, Request
Direct Known Subclasses:
WMS1_1_0.InternalDescribeLayerRequest

public abstract class AbstractDescribeLayerRequest
extends AbstractRequest
implements DescribeLayerRequest

Describes an abstract DescribeLayer request. Provides everything except the versioning info, which subclasses must implement.

Author:
Richard Gould

Field Summary
 
Fields inherited from class org.geotools.data.wms.request.AbstractRequest
EXCEPTION_XML, onlineResource, properties
 
Fields inherited from interface org.geotools.data.wms.request.DescribeLayerRequest
LAYERS
 
Fields inherited from interface org.geotools.data.wms.request.Request
REQUEST, SERVICE, VERSION, WMTVER
 
Constructor Summary
AbstractDescribeLayerRequest(java.net.URL onlineResource, java.util.Properties properties)
          Constructs a basic DescribeLayerRequest, without versioning info.
 
Method Summary
protected abstract  void initVersion()
           
 void setLayers(java.lang.String layers)
          TODO Change this to be a String[] or List so we can encode properly.
 
Methods inherited from class org.geotools.data.wms.request.AbstractRequest
getFinalURL, getProperties, processKey, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.geotools.data.wms.request.Request
getFinalURL, getProperties, setProperty
 

Constructor Detail

AbstractDescribeLayerRequest

public AbstractDescribeLayerRequest(java.net.URL onlineResource,
                                    java.util.Properties properties)
Constructs a basic DescribeLayerRequest, without versioning info.

Parameters:
onlineResource - the location of the request
properties - a set of properties to use. Can be null.
Method Detail

setLayers

public void setLayers(java.lang.String layers)
Description copied from interface: DescribeLayerRequest
TODO Change this to be a String[] or List so we can encode properly. Sets the LAYERS parameter

Specified by:
setLayers in interface DescribeLayerRequest
Parameters:
layers - A comma delimited String of named layers
See Also:
DescribeLayerRequest.setLayers(java.lang.String)

initVersion

protected abstract void initVersion()


Copyright © GeoTools. All Rights Reserved.