com.bramosystems.oss.player.playlist.client.asx
Class Ref

java.lang.Object
  extended by com.bramosystems.oss.player.playlist.client.asx.Ref

public class Ref
extends Object

Class specifies the URL reference of a media content

Since:
1.3
Author:
Sikirulai Braheem

Constructor Summary
Ref()
          Constructor
 
Method Summary
 PlayTime getDuration()
          Returns the playback duration of the media
 String getHref()
          Returns the URL of the media
 PlayTime getStartTime()
          Returns the time when playback should start
 void setDuration(PlayTime duration)
          Sets the playback duration of the media
 void setHref(String href)
          Sets the URL of the media
 void setStartTime(PlayTime startTime)
          Sets the time when playback should start
 String toString()
          Returns a more descriptive representation of the media reference.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Ref

public Ref()
Constructor

Method Detail

getDuration

public PlayTime getDuration()
Returns the playback duration of the media

Returns:
the duration of playback

setDuration

public void setDuration(PlayTime duration)
Sets the playback duration of the media

Parameters:
duration - the duration of playback

getHref

public String getHref()
Returns the URL of the media

Returns:
the URL of the media

setHref

public void setHref(String href)
Sets the URL of the media

Parameters:
href - the URL of the media

getStartTime

public PlayTime getStartTime()
Returns the time when playback should start

Returns:
the time when playback should start

setStartTime

public void setStartTime(PlayTime startTime)
Sets the time when playback should start

Parameters:
startTime - the time when playback should start

toString

public String toString()
Returns a more descriptive representation of the media reference. Useful during debugging

Overrides:
toString in class Object


Copyright © 2009-2011. All Rights Reserved.