com.bramosystems.oss.player.playlist.client.spf
Class SPFPlaylist

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.bramosystems.oss.player.playlist.client.spf.SPFPlaylist

public final class SPFPlaylist
extends com.google.gwt.core.client.JavaScriptObject

Class represents an XSPF/JSPF playlist

Since:
1.3
Author:
Sikirulai Braheem

Constructor Summary
protected SPFPlaylist()
          Constructor
 
Method Summary
 String getAnnotation()
          Returns the comment associated with this playlist
 Attribution getAttribution()
          Returns the attribution to the original playlist
 String getCreator()
          Returns the creator (author) of this playlist
 Date getDate()
          Returns the date this playlist was created
 String getIdentifier()
          Returns a canonical identifier for this playlist
 String getImage()
          Returns the URI of the image to display for the rendering duration of this playlist.
 String getInfo()
          Returns the URI of a location containing more information about this playlist
 String getLicense()
          Returns the URI of the license under which this playlist was released
 String getLocation()
          Returns the source URI of this playlist
 String getTitle()
          Returns the title of this playlist
 com.google.gwt.core.client.JsArray<Track> getTracks()
          Returns the track entries in this playlist
 void setAnnotation(String annotation)
          Associates a comment with this playlist
 void setAttribution(Attribution attribution)
          Sets the attribution to the original playlist
 void setCreator(String creator)
          Sets the creator (author) of this playlist
 void setDate(Date date)
          Sets the date this playlist was created
 void setIdentifier(String identifier)
          Sets a canonical identifier for this playlist.
 void setImage(String image)
          Sets the URI of the image to display for the rendering duration of this playlist
 void setInfo(String info)
          Sets the URI of a location containing more information about this playlist
 void setLicense(String license)
          Sets the URI of the license under which this playlist was released
 void setLocation(String location)
          Sets the source URI of this playlist
 void setTitle(String title)
          Sets the title of this playlist
 void setTracks(com.google.gwt.core.client.JsArray<Track> tracks)
          Sets the track entries of this playlist
 Playlist toPlaylist()
          Returns this playlist as a Playlist object that can be used with player widgets with PlaylistSupport
 
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SPFPlaylist

protected SPFPlaylist()
Constructor

Method Detail

getAnnotation

public String getAnnotation()
Returns the comment associated with this playlist

Returns:
the comment associated with this playlist

setAnnotation

public void setAnnotation(String annotation)
Associates a comment with this playlist

Parameters:
annotation - the comment associated with this playlist

getAttribution

public Attribution getAttribution()
Returns the attribution to the original playlist

Returns:
the attribution to the original playlist

setAttribution

public void setAttribution(Attribution attribution)
Sets the attribution to the original playlist

Parameters:
attribution - the attribution to the original playlist

getCreator

public String getCreator()
Returns the creator (author) of this playlist

Returns:
the creator of this playlist

setCreator

public void setCreator(String creator)
Sets the creator (author) of this playlist

Parameters:
creator - the creator of this playlist

getDate

public final Date getDate()
Returns the date this playlist was created

Returns:
the creation date of this playlist

setDate

public final void setDate(Date date)
Sets the date this playlist was created

Parameters:
date - the creation date of this playlist

getIdentifier

public String getIdentifier()
Returns a canonical identifier for this playlist

Returns:
a canonical identifier for this playlist

setIdentifier

public void setIdentifier(String identifier)
Sets a canonical identifier for this playlist.

Parameters:
identifier - a canonical identifier for this playlist

getImage

public String getImage()
Returns the URI of the image to display for the rendering duration of this playlist.

Returns:
the URI of the general image for the playlist

setImage

public void setImage(String image)
Sets the URI of the image to display for the rendering duration of this playlist

Parameters:
image - the URI of the image to use for this playlist

getInfo

public String getInfo()
Returns the URI of a location containing more information about this playlist

Returns:
the URI of a location containing more information about this playlist

setInfo

public void setInfo(String info)
Sets the URI of a location containing more information about this playlist

Parameters:
info - the URI of a location containing more information about this playlist

getLicense

public String getLicense()
Returns the URI of the license under which this playlist was released

Returns:
the URI of the license

setLicense

public void setLicense(String license)
Sets the URI of the license under which this playlist was released

Parameters:
license - the URI of the license

getLocation

public String getLocation()
Returns the source URI of this playlist

Returns:
the source URI of this playlist

setLocation

public void setLocation(String location)
Sets the source URI of this playlist

Parameters:
location - the source URI of this playlist

getTitle

public String getTitle()
Returns the title of this playlist

Returns:
the title of this playlist

setTitle

public void setTitle(String title)
Sets the title of this playlist

Parameters:
title - the title of this playlist

getTracks

public com.google.gwt.core.client.JsArray<Track> getTracks()
Returns the track entries in this playlist

Returns:
the track entries in this playlist

setTracks

public void setTracks(com.google.gwt.core.client.JsArray<Track> tracks)
Sets the track entries of this playlist

Parameters:
tracks - the track entries of this playlist

toPlaylist

public final Playlist toPlaylist()
Returns this playlist as a Playlist object that can be used with player widgets with PlaylistSupport

Returns:
Playlist object


Copyright © 2009-2011. All Rights Reserved.