org.geotools.data.wms.request
Class AbstractPutStylesRequest

java.lang.Object
  extended byorg.geotools.data.wms.request.AbstractRequest
      extended byorg.geotools.data.wms.request.AbstractPutStylesRequest
All Implemented Interfaces:
PutStylesRequest, Request
Direct Known Subclasses:
WMS1_1_0.InternalPutStylesRequest

public abstract class AbstractPutStylesRequest
extends AbstractRequest
implements PutStylesRequest

Presents basic functionality for a PutStyles 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.PutStylesRequest
INSERT_AND_REPLACE, MODE, REPLACE_ALL, SLD, SLD_BODY
 
Fields inherited from interface org.geotools.data.wms.request.Request
REQUEST, SERVICE, VERSION, WMTVER
 
Constructor Summary
AbstractPutStylesRequest(java.net.URL onlineResource, java.util.Properties properties)
           
 
Method Summary
protected  void initRequest()
           
protected abstract  void initVersion()
           
 void setMode(java.lang.String mode)
           
 void setSLD(java.lang.String sld)
           
 void setSLDBody(java.lang.String sldBody)
           
 
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

AbstractPutStylesRequest

public AbstractPutStylesRequest(java.net.URL onlineResource,
                                java.util.Properties properties)
Parameters:
onlineResource -
properties -
Method Detail

initRequest

protected void initRequest()

initVersion

protected abstract void initVersion()

setMode

public void setMode(java.lang.String mode)
Specified by:
setMode in interface PutStylesRequest
Parameters:
mode - one of INSERT_AND_REPLACE or REPLACE_ALL
See Also:
PutStylesRequest.setMode(java.lang.String)

setSLD

public void setSLD(java.lang.String sld)
Specified by:
setSLD in interface PutStylesRequest

setSLDBody

public void setSLDBody(java.lang.String sldBody)
Specified by:
setSLDBody in interface PutStylesRequest


Copyright © GeoTools. All Rights Reserved.