org.deegree.ogcwebservices.wms.capabilities
Class Attribution
java.lang.Object
  
org.deegree.ogcwebservices.wms.capabilities.Attribution
public class Attribution
- extends Object
 
The optional Attribution element provides a way to identify the source of the map data used in a
 Layer or collection of Layers. Attribution encloses several optional elements: 
 states the data provider's URL;  is a human-readable string naming the data provider;
  is the URL of a logo image. Client applications may choose to display one or more of
 these items. A  element in LogoURL indicates the MIME type of the logo image, and the
 attributes width and height state the size of the image in pixels.
 
 ----------------------------------------------------------------------
 
- Version:
 
  - $Revision: 18195 $
 
- Author:
 
  - Katharina Lupp, Markus Schneider
 
| 
Constructor Summary | 
Attribution(String title,
                       URL onlineResource,
                       LogoURL logoURL)
 
          constructor initializing the class with the attributes | 
 
 
 
Attribution
public Attribution(String title,
                   URL onlineResource,
                   LogoURL logoURL)
- constructor initializing the class with the attributes
- Parameters:
 title - onlineResource - logoURL - 
 
getTitle
public String getTitle()
- Returns:
 - a human-readable string naming the data providerreturns the title of the attribution.
 
 
setTitle
public void setTitle(String title)
- sets the title
- Parameters:
 title - 
 
 
getOnlineResource
public URL getOnlineResource()
- Returns:
 - the data provider's URL
 
 
setOnlineResource
public void setOnlineResource(URL onlineResource)
- sets the data provider's URL
- Parameters:
 onlineResource - 
 
 
getLogoURL
public LogoURL getLogoURL()
- Returns:
 - the URL of a logo image
 
 
setLogoURL
public void setLogoURL(LogoURL logoURL)
- sets the URL of a logo image
- Parameters:
 logoURL - 
 
 
toString
public String toString()
- Overrides:
 toString in class Object
 
 
                an open source project founded by lat/lon, Bonn, Germany.
                    For more information visit: http://www.deegree.org