org.geotools.data.wms.request
Class AbstractGetStylesRequest

java.lang.Object
  extended byorg.geotools.data.wms.request.AbstractRequest
      extended byorg.geotools.data.wms.request.AbstractGetStylesRequest
All Implemented Interfaces:
GetStylesRequest, Request
Direct Known Subclasses:
WMS1_1_0.InternalGetStylesRequest

public abstract class AbstractGetStylesRequest
extends AbstractRequest
implements GetStylesRequest

Provides functionality for a basic getStyles request

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.GetStylesRequest
LAYERS, SLDVER
 
Fields inherited from interface org.geotools.data.wms.request.Request
REQUEST, SERVICE, VERSION, WMTVER
 
Constructor Summary
AbstractGetStylesRequest(java.net.URL onlineResource, Layer[] layers)
           
 
Method Summary
 Layer[] getLayers()
           
protected  void initRequest()
           
protected abstract  void initVersion()
           
 void setLayers(java.lang.String layers)
           
 void setSLDver(java.lang.String sldVer)
           
 
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

AbstractGetStylesRequest

public AbstractGetStylesRequest(java.net.URL onlineResource,
                                Layer[] layers)
Parameters:
onlineResource -
layers -
Method Detail

initRequest

protected void initRequest()

initVersion

protected abstract void initVersion()

setLayers

public void setLayers(java.lang.String layers)
Specified by:
setLayers in interface GetStylesRequest
Parameters:
layers - comma-separated list of named layers for which to retrieve style descriptions

setSLDver

public void setSLDver(java.lang.String sldVer)
Specified by:
setSLDver in interface GetStylesRequest
Parameters:
sldVer - the SLD version requested for the SLD document

getLayers

public Layer[] getLayers()
Specified by:
getLayers in interface GetStylesRequest
Returns:
an array containing named layers


Copyright © GeoTools. All Rights Reserved.