deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.ogcwebservices.wms.operation
Class GetLegendGraphicResult

java.lang.Object
  extended by org.deegree.ogcwebservices.DefaultOGCWebServiceResponse
      extended by org.deegree.ogcwebservices.wms.operation.GetLegendGraphicResult
All Implemented Interfaces:
OGCWebServiceResponse

public class GetLegendGraphicResult
extends DefaultOGCWebServiceResponse

The class encapsulates the response to a GetLegendGraphic request.

--------------------------------------------------------

Version:
$Revision: 18195 $ $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
Author:
Katharina Lupp, Andreas Poth

Field Summary
 
Fields inherited from class org.deegree.ogcwebservices.DefaultOGCWebServiceResponse
exception, request
 
Constructor Summary
GetLegendGraphicResult(OGCWebServiceRequest request, Object legendGraphic)
          constructor initializing the class
GetLegendGraphicResult(OGCWebServiceRequest request, OGCWebServiceException exception)
          constructor initializing the class
 
Method Summary
 Object getLegendGraphic()
           
 void setLegendGraphic(Object legendGraphic)
          sets the graphic that corresponds to a GetLegendGraphics request.
 
Methods inherited from class org.deegree.ogcwebservices.DefaultOGCWebServiceResponse
getException, getRequest, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetLegendGraphicResult

public GetLegendGraphicResult(OGCWebServiceRequest request,
                              Object legendGraphic)
constructor initializing the class

Parameters:
request -
legendGraphic -

GetLegendGraphicResult

GetLegendGraphicResult(OGCWebServiceRequest request,
                       OGCWebServiceException exception)
constructor initializing the class

Method Detail

getLegendGraphic

public Object getLegendGraphic()
Returns:
the graphic that corresponds to a GetLegendGraphics request. If an exception raised during processing or the request was invalid null will be returned.

setLegendGraphic

public void setLegendGraphic(Object legendGraphic)
sets the graphic that corresponds to a GetLegendGraphics request.

Parameters:
legendGraphic -

deegree 2.3 (2010/04/09 10:10 build-4-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org