christophedelory.playlist.xspf
Class Attribution
java.lang.Object
christophedelory.playlist.xspf.Attribution
- Direct Known Subclasses:
- Track
public class Attribution
- extends Object
An ordered list of URIs.
The purpose is to satisfy licenses allowing modification but requiring attribution.
If you modify such a playlist, move its //playlist/location or //playlist/identifier element
to the top of the items in the //playlist/attribution element.
Such a list can grow without limit, so as a practical matter we suggest deleting ancestors more than ten generations back.
<attribution>
<location>http://bar.com/modified_version_of_original_playlist.xspf</location>
<identifier>somescheme:original_playlist.xspf</identifier>
</attribution>
- Version:
- $Revision: 92 $
- Author:
- Christophe Delory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Attribution
public Attribution()
getStringContainers
public List<StringContainer> getStringContainers()
- Returns a list of string containers.
- Returns:
- a list of string containers. May be empty but not
null
. - See Also:
addStringContainer(christophedelory.playlist.xspf.StringContainer)
addStringContainer
public void addStringContainer(StringContainer stringContainer)
- Adds a string container.
- Parameters:
stringContainer
- a string container. Shall not be null
.
- Throws:
NullPointerException
- if stringContainer
is null
.
IllegalArgumentException
- if the container contains no string.- See Also:
getStringContainers()
Copyright © 2008-2009 Christophe Delory. All Rights Reserved.