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: 1.8 $
- Author:
- Katharina Lupp, Markus Schneider
Constructor Summary |
(package private) |
Attribution_Impl()
default constructor |
(package private) |
Attribution_Impl(java.lang.String title,
java.net.URL onlineResource,
LogoURL logoURL)
constructor initializing the class with the attributes |
Method Summary |
java.lang.String |
exportAsXML()
Returns an XML representation of this object. |
LogoURL |
getLogoURL()
returns the URL of a logo image |
java.net.URL |
getOnlineResource()
returns the data provider's URL |
java.lang.String |
getTitle()
a human-readable string naming the data providerreturns the title
of the attribution. |
void |
setLogoURL(LogoURL logoURL)
sets the URL of a logo image |
void |
setOnlineResource(java.net.URL onlineResource)
sets the data provider's URL |
void |
setTitle(java.lang.String title)
sets the title |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
logoURL
private LogoURL logoURL
title
private java.lang.String title
onlineResource
private java.net.URL onlineResource
Attribution_Impl
Attribution_Impl()
- default constructor
Attribution_Impl
Attribution_Impl(java.lang.String title,
java.net.URL onlineResource,
LogoURL logoURL)
- constructor initializing the class with the attributes
getTitle
public java.lang.String getTitle()
- a human-readable string naming the data providerreturns the title
of the attribution.
- Specified by:
getTitle
in interface Attribution
setTitle
public void setTitle(java.lang.String title)
- sets the title
getOnlineResource
public java.net.URL getOnlineResource()
throws java.net.MalformedURLException
- returns the data provider's URL
- Specified by:
getOnlineResource
in interface Attribution
- Throws:
java.net.MalformedURLException
setOnlineResource
public void setOnlineResource(java.net.URL onlineResource)
- sets the data provider's URL
getLogoURL
public LogoURL getLogoURL()
throws java.net.MalformedURLException
- returns the URL of a logo image
- Specified by:
getLogoURL
in interface Attribution
- Throws:
java.net.MalformedURLException
setLogoURL
public void setLogoURL(LogoURL logoURL)
- sets the URL of a logo image
toString
public java.lang.String toString()
- Returns:
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