|
Lizzy v1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object christophedelory.rss.media.Copyright
public class Copyright
Copyright information for media object.
Example:
<media:copyright url="http://blah.com/additional-info.html">2005 FooBar Media</media:copyright>
Constructor Summary | |
---|---|
Copyright()
|
Method Summary | |
---|---|
URI |
getURL()
Returns the URL for a terms of use page or additional copyright information. |
String |
getURLString()
Returns the URL for a terms of use page or additional copyright information, as a string. |
String |
getValue()
|
void |
setURL(URI url)
Initializes the URL for a terms of use page or additional copyright information. |
void |
setURLString(String url)
Initializes the URL for a terms of use page or additional copyright information, as a string. |
void |
setValue(String value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Copyright()
Method Detail |
---|
public void setURLString(String url) throws URISyntaxException
url
- an URL as a string. Shall not be null
.
NullPointerException
- if url
is null
.
URISyntaxException
- if the given string violates RFC 2396, as augmented by the URI
deviations.getURLString()
,
setURL(java.net.URI)
public String getURLString()
null
.setURLString(java.lang.String)
,
getURL()
public void setURL(URI url)
url
- an URL. May be null
.getURL()
,
setURLString(java.lang.String)
public URI getURL()
null
.setURL(java.net.URI)
,
getURLString()
public String getValue()
null
if not yet initialized.setValue(java.lang.String)
public void setValue(String value)
value
- the copyright information. Shall not be null
.
NullPointerException
- if value
is null
.getValue()
|
© 2008-2009 Christophe Delory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |