org.deegree_impl.services.wms.capabilities
Class LegendURL_Impl

java.lang.Object
  extended byorg.deegree_impl.ogcbasic.BaseURL_Impl
      extended byorg.deegree_impl.ogcbasic.ImageURL
          extended byorg.deegree_impl.services.wms.capabilities.LegendURL_Impl
All Implemented Interfaces:
BaseURL, LegendURL, Marshallable

class LegendURL_Impl
extends ImageURL
implements LegendURL, Marshallable

A Map Server may use zero or more LegendURL elements to provide an image(s) of a legend relevant to each Style of a Layer. The Format element indicates the MIME type of the legend. Width and height attributes are provided to assist client applications in laying out space to display the legend.

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

Version:
$Revision: 1.10 $
Author:
Katharina Lupp, Markus Schneider

Field Summary
 
Fields inherited from class org.deegree_impl.ogcbasic.ImageURL
 
Fields inherited from class org.deegree_impl.ogcbasic.BaseURL_Impl
 
Constructor Summary
(package private) LegendURL_Impl(int width, int height, java.lang.String format, java.net.URL onlineResource)
           
 
Method Summary
 java.lang.String exportAsXML()
          Returns an XML representation of this object.
 
Methods inherited from class org.deegree_impl.ogcbasic.ImageURL
getHeight, getWidth, setHeight, setWidth, toString
 
Methods inherited from class org.deegree_impl.ogcbasic.BaseURL_Impl
getFormat, getOnlineResource, setFormat, setOnlineResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.deegree.services.wms.capabilities.LegendURL
getHeight, getWidth
 
Methods inherited from interface org.deegree.ogcbasic.BaseURL
getFormat, getOnlineResource
 

Constructor Detail

LegendURL_Impl

LegendURL_Impl(int width,
               int height,
               java.lang.String format,
               java.net.URL onlineResource)
Method Detail

exportAsXML

public java.lang.String exportAsXML()
Returns an XML representation of this object.

Specified by:
exportAsXML in interface Marshallable
Returns:
XML-representation of this object