org.geotools.data.wms.request
Class AbstractGetLegendGraphicRequest

Object
  extended by AbstractRequest
      extended by AbstractWMSRequest
          extended by AbstractGetLegendGraphicRequest
All Implemented Interfaces:
Request, GetLegendGraphicRequest
Direct Known Subclasses:
WMS1_1_0.InternalGetLegendGraphicRequest

public abstract class AbstractGetLegendGraphicRequest
extends AbstractWMSRequest
implements GetLegendGraphicRequest

Provides functionality for a basic GetLegendGraphic request

Author:
Richard Gould

Field Summary
 
Fields inherited from class AbstractRequest
EXCEPTION_XML, onlineResource, properties
 
Fields inherited from interface GetLegendGraphicRequest
EXCEPTIONS, FEATURETYPE, FORMAT, HEIGHT, LAYER, RULE, SCALE, SLD, SLD_BODY, STYLE, WIDTH
 
Fields inherited from interface Request
REQUEST, SERVICE, VERSION, WMTVER
 
Constructor Summary
AbstractGetLegendGraphicRequest(URL onlineResource)
           
 
Method Summary
protected  void initRequest()
           
protected abstract  void initVersion()
          Sets up the version number for this request.
 void setExceptions(String exceptions)
           
 void setFeatureType(String featureType)
           
 void setFormat(String format)
           
 void setHeight(String height)
           
 void setLayer(String layer)
           
 void setRule(String rule)
           
 void setScale(String scale)
           
 void setSLD(String sld)
           
 void setSLDBody(String sldBody)
           
 void setStyle(String style)
           
 void setWidth(String width)
           
 
Methods inherited from class AbstractWMSRequest
initService
 
Methods inherited from class AbstractRequest
getFinalURL, getPostContentType, getProperties, performPostOutput, processKey, requiresPost, setProperty
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface Request
createResponse, getFinalURL, getPostContentType, getProperties, performPostOutput, requiresPost, setProperty
 

Constructor Detail

AbstractGetLegendGraphicRequest

public AbstractGetLegendGraphicRequest(URL onlineResource)
Parameters:
onlineResource -
Method Detail

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

setLayer

public void setLayer(String layer)
Specified by:
setLayer in interface GetLegendGraphicRequest

setStyle

public void setStyle(String style)
Specified by:
setStyle in interface GetLegendGraphicRequest

setFeatureType

public void setFeatureType(String featureType)
Specified by:
setFeatureType in interface GetLegendGraphicRequest

setRule

public void setRule(String rule)
Specified by:
setRule in interface GetLegendGraphicRequest

setScale

public void setScale(String scale)
Specified by:
setScale in interface GetLegendGraphicRequest

setSLD

public void setSLD(String sld)
Specified by:
setSLD in interface GetLegendGraphicRequest

setSLDBody

public void setSLDBody(String sldBody)
Specified by:
setSLDBody in interface GetLegendGraphicRequest

setFormat

public void setFormat(String format)
Specified by:
setFormat in interface GetLegendGraphicRequest

setWidth

public void setWidth(String width)
Specified by:
setWidth in interface GetLegendGraphicRequest

setHeight

public void setHeight(String height)
Specified by:
setHeight in interface GetLegendGraphicRequest

setExceptions

public void setExceptions(String exceptions)
Specified by:
setExceptions in interface GetLegendGraphicRequest


Copyright © 1996-2014 Geotools. All Rights Reserved.