Lizzy v1.1.1

christophedelory.playlist.xspf
Class Attribution

java.lang.Object
  extended by 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

Constructor Summary
Attribution()
           
 
Method Summary
 void addStringContainer(StringContainer stringContainer)
          Adds a string container.
 List<StringContainer> getStringContainers()
          Returns a list of string containers.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Attribution

public Attribution()
Method Detail

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()

© 2008-2009 Christophe Delory

Copyright © 2008-2009 Christophe Delory. All Rights Reserved.