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
  • Constructor Details

    • AbstractGetStylesRequest

      public AbstractGetStylesRequest(URL onlineResource, Properties properties)
  • Method Details

    • initRequest

      protected void initRequest()
      Specified by:
      initRequest in class AbstractRequest
    • 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
    • setLayers

      public void setLayers(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(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