org.geotools.data.wms.request
Class AbstractDescribeLayerRequest
Object
AbstractRequest
AbstractWMSRequest
AbstractDescribeLayerRequest
- All Implemented Interfaces:
- Request, DescribeLayerRequest
- Direct Known Subclasses:
- WMS1_1_0.InternalDescribeLayerRequest
public abstract class AbstractDescribeLayerRequest
- extends AbstractWMSRequest
- implements DescribeLayerRequest
Describes an abstract DescribeLayer request. Provides everything except
the versioning info, which subclasses must implement.
- Author:
- Richard Gould
- Module:
modules/extension/wms (gt-wms.jar)
Method Summary |
protected void |
initRequest()
|
protected abstract void |
initVersion()
Sets up the version number for this request. |
void |
setLayers(String layers)
TODO Change this to be a String[] or List so we can encode properly. |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractDescribeLayerRequest
public AbstractDescribeLayerRequest(URL onlineResource,
Properties properties)
- Constructs a basic DescribeLayerRequest, without versioning info.
- Parameters:
onlineResource
- the location of the requestproperties
- a set of properties to use. Can be null.
initRequest
protected void initRequest()
- Specified by:
initRequest
in class AbstractRequest
setLayers
public void setLayers(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()
- Description copied from class:
AbstractRequest
- Sets up the version number for this request. Typically something like
setProperty("VERSION", "1.1.1");
- Specified by:
initVersion
in class AbstractRequest
Copyright © 1996-2009 Geotools. All Rights Reserved.