deegree 2.5 (2011/06/29 09:44 build-8-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, java.lang.Object legendGraphic)
          constructor initializing the class
GetLegendGraphicResult(OGCWebServiceRequest request, OGCWebServiceException exception)
          constructor initializing the class
 
Method Summary
 java.lang.Object getLegendGraphic()
           
 void setLegendGraphic(java.lang.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,
                              java.lang.Object legendGraphic)
constructor initializing the class

Parameters:
request -
legendGraphic -

GetLegendGraphicResult

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

Method Detail

getLegendGraphic

public java.lang.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(java.lang.Object legendGraphic)
sets the graphic that corresponds to a GetLegendGraphics request.

Parameters:
legendGraphic -

deegree 2.5 (2011/06/29 09:44 build-8-official)

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