org.deegree_impl.services.wms.protocol
Class WMSGetLegendGraphicResponse_Impl

java.lang.Object
  extended byorg.deegree_impl.services.OGCWebServiceResponse_Impl
      extended byorg.deegree_impl.services.wms.protocol.WMSGetLegendGraphicResponse_Impl
All Implemented Interfaces:
OGCWebServiceResponse, WMSGetLegendGraphicResponse

public class WMSGetLegendGraphicResponse_Impl
extends OGCWebServiceResponse_Impl
implements WMSGetLegendGraphicResponse

The class encapsulates the response to a GetLegendGraphic request.

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

Version:
$Revision: 1.6 $ $Date: 2004/03/30 07:09:33 $
Author:
Katharina Lupp, Andreas Poth

Field Summary
private  java.lang.Object legendGraphic
           
 
Fields inherited from class org.deegree_impl.services.OGCWebServiceResponse_Impl
 
Constructor Summary
(package private) WMSGetLegendGraphicResponse_Impl(OGCWebServiceRequest request, org.w3c.dom.Document exception)
          constructor initializing the class
(package private) WMSGetLegendGraphicResponse_Impl(OGCWebServiceRequest request, java.lang.Object legendGraphic)
          constructor initializing the class
 
Method Summary
 java.lang.Object getLegendGraphic()
          returns the graphic that corresponds to a GetLegendGraphics request.
 void setLegendGraphic(java.lang.Object legendGraphic)
          sets the graphic that corresponds to a GetLegendGraphics request.
 
Methods inherited from class org.deegree_impl.services.OGCWebServiceResponse_Impl
getException, getRequest, setException, setRequest, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.deegree.services.OGCWebServiceResponse
getException, getRequest, setException, setRequest
 

Field Detail

legendGraphic

private java.lang.Object legendGraphic
Constructor Detail

WMSGetLegendGraphicResponse_Impl

WMSGetLegendGraphicResponse_Impl(OGCWebServiceRequest request,
                                 java.lang.Object legendGraphic)
constructor initializing the class


WMSGetLegendGraphicResponse_Impl

WMSGetLegendGraphicResponse_Impl(OGCWebServiceRequest request,
                                 org.w3c.dom.Document 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.

Specified by:
getLegendGraphic in interface WMSGetLegendGraphicResponse

setLegendGraphic

public void setLegendGraphic(java.lang.Object legendGraphic)
sets the graphic that corresponds to a GetLegendGraphics request. If an exception raised during processing or the request was invalid null will be returned.