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(java.lang.String title,
java.net.URL onlineResource,
LogoURL logoURL)
constructor initializing the class with the attributes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Attribution
public Attribution(java.lang.String title,
java.net.URL onlineResource,
LogoURL logoURL)
- constructor initializing the class with the attributes
- Parameters:
title
- onlineResource
- logoURL
-
getTitle
public java.lang.String getTitle()
- Returns:
- a human-readable string naming the data providerreturns the title of the attribution.
setTitle
public void setTitle(java.lang.String title)
- sets the title
- Parameters:
title
-
getOnlineResource
public java.net.URL getOnlineResource()
- Returns:
- the data provider's URL
setOnlineResource
public void setOnlineResource(java.net.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 java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org