Package org.geotools.ows.wms.request
Class AbstractGetStylesRequest
- Object
- 
- AbstractRequest
- 
- AbstractWMSRequest
- 
- AbstractGetStylesRequest
 
 
 
- 
- All Implemented Interfaces:
- Request,- GetStylesRequest
 - Direct Known Subclasses:
- WMS1_0_0.InternalGetStylesRequest,- WMS1_1_1.InternalGetStylesRequest
 
 public abstract class AbstractGetStylesRequest extends AbstractWMSRequest implements GetStylesRequest Provides functionality for a basic getStyles request- Author:
- Richard Gould
 
- 
- 
Field Summary- 
Fields inherited from class AbstractRequestEXCEPTION_XML, hints, onlineResource, properties
 - 
Fields inherited from interface GetStylesRequestLAYERS, SLDVER
 
- 
 - 
Constructor SummaryConstructors Constructor Description AbstractGetStylesRequest(URL onlineResource, Properties properties)
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Layer[]getLayers()protected voidinitRequest()protected abstract voidinitVersion()Sets up the version number for this request.voidsetLayers(String layers)voidsetSLDver(String sldVer)- 
Methods inherited from class AbstractWMSRequestinitService
 - 
Methods inherited from class AbstractRequestgetFinalURL, getPostContentType, getProperties, getRequestHints, performPostOutput, processKey, requiresPost, setProperty, setRequestHints
 - 
Methods inherited from class Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface RequestcreateResponse, getFinalURL, getPostContentType, getProperties, getRequestHints, performPostOutput, requiresPost, setProperty, setRequestHints
 
- 
 
- 
- 
- 
Constructor Detail- 
AbstractGetStylesRequestpublic AbstractGetStylesRequest(URL onlineResource, Properties properties) 
 
- 
 - 
Method Detail- 
initRequestprotected void initRequest() - Specified by:
- initRequestin class- AbstractRequest
 
 - 
initVersionprotected abstract void initVersion() Description copied from class:AbstractRequestSets up the version number for this request. Typically something like setProperty("VERSION", "1.1.1");- Specified by:
- initVersionin class- AbstractRequest
 
 - 
setLayerspublic void setLayers(String layers) - Specified by:
- setLayersin interface- GetStylesRequest
- Parameters:
- layers- comma-separated list of named layers for which to retrieve style descriptions
 
 - 
setSLDverpublic void setSLDver(String sldVer) - Specified by:
- setSLDverin interface- GetStylesRequest
- Parameters:
- sldVer- the SLD version requested for the SLD document
 
 - 
getLayerspublic Layer[] getLayers() - Specified by:
- getLayersin interface- GetStylesRequest
- Returns:
- an array containing named layers
 
 
- 
 
-