|
Lizzy v1.1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectchristophedelory.playlist.xspf.Attribution
christophedelory.playlist.xspf.Track
public class Track
A XSPF track.
| Constructor Summary | |
|---|---|
Track()
|
|
| Method Summary | |
|---|---|
void |
addExtension(Object extension)
Adds an extension to this track. |
void |
addLink(Link link)
Adds a link to this track. |
void |
addMeta(Meta meta)
Adds a metadata to this playlist. |
String |
getAlbum()
Returns a human-readable name of the collection from which the resource which defines the duration of track rendering comes. |
String |
getAnnotation()
Returns a human-readable comment on the track. |
String |
getCreator()
Returns a human-readable name of the entity (author, authors, group, company, etc) that authored the resource which defines the duration of track rendering. |
Integer |
getDuration()
Returns the time to render a resource, in milliseconds. |
List<AnyNode> |
getExtensions()
Returns a list of track extensions. |
String |
getImage()
Returns an URI of an image to display for the duration of the track. |
String |
getInfo()
Returns an URI of a place where this resource can be bought or more info can be found. |
List<Link> |
getLinks()
Returns the list of links defined in this track. |
List<Meta> |
getMetas()
Returns the list of metadata defined in this playlist. |
String |
getTitle()
Returns a human-readable name of the track that authored the resource which defines the duration of track rendering. |
Integer |
getTrackNumber()
Returns an integer with value greater than zero giving the ordinal position of the media on the xspf:album. |
void |
setAlbum(String album)
Initializes a human-readable name of the collection from which the resource which defines the duration of track rendering comes. |
void |
setAnnotation(String annotation)
Initializes a human-readable comment on the track. |
void |
setCreator(String creator)
Initializes a human-readable name of the entity (author, authors, group, company, etc) that authored the resource which defines the duration of track rendering. |
void |
setDuration(int duration)
Initializes the time to render a resource, in milliseconds. |
void |
setDuration(Integer duration)
Initializes the time to render a resource, in milliseconds. |
void |
setImage(String image)
Initializes an URI of an image to display for the duration of the track. |
void |
setInfo(String info)
Initializes an URI of a place where this resource can be bought or more info can be found. |
void |
setTitle(String title)
Initializes a human-readable name of the track that authored the resource which defines the duration of track rendering. |
void |
setTrackNumber(Integer trackNum)
Initializes an integer with value greater than zero giving the ordinal position of the media on the xspf:album. |
| Methods inherited from class christophedelory.playlist.xspf.Attribution |
|---|
addStringContainer, getStringContainers |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Track()
| Method Detail |
|---|
public String getTitle()
null.setTitle(java.lang.String)public void setTitle(String title)
title - a title. May be null.getTitle()public String getCreator()
null.setCreator(java.lang.String)public void setCreator(String creator)
creator - a creator. May be null.getCreator()public String getAnnotation()
null.setAnnotation(java.lang.String)public void setAnnotation(String annotation)
annotation - an annotation. May be null.getAnnotation()public String getInfo()
null.setInfo(java.lang.String)public void setInfo(String info)
info - an information. May be null.getInfo()public String getImage()
null.setImage(java.lang.String)public void setImage(String image)
image - an image. May be null.getImage()public String getAlbum()
null.setAlbum(java.lang.String)public void setAlbum(String album)
album - an album. May be null.getAlbum()public Integer getTrackNumber()
null.setTrackNumber(java.lang.Integer)public void setTrackNumber(Integer trackNum)
trackNum - a track number. May be null.
IllegalArgumentException - if the specified track number is not stricly positive.getTrackNumber()public Integer getDuration()
null.setDuration(java.lang.Integer)public void setDuration(Integer duration)
duration - a duration. May be null.
IllegalArgumentException - if the specified duration is not stricly positive.getDuration(),
setDuration(int)public void setDuration(int duration)
duration - a duration.
IllegalArgumentException - if the duration is not stricly positive.getDuration(),
setDuration(Integer)public List<AnyNode> getExtensions()
null.addExtension(java.lang.Object)public void addExtension(Object extension)
Object just because it's what the Castor framework expects.
extension - an extension. Shall not be null.
NullPointerException - if extension is null.
IllegalArgumentException - if extension is not an AnyNode instance.
IllegalArgumentException - if no "application" attribute can be found in the specified extension element.getExtensions()public void addLink(Link link)
link - a link. Shall not be null
NullPointerException - if link is null.getLinks()public List<Link> getLinks()
null.addLink(christophedelory.playlist.xspf.Link)public void addMeta(Meta meta)
meta - a metadata. Shall not be null
NullPointerException - if meta is null.getMetas()public List<Meta> getMetas()
null.addMeta(christophedelory.playlist.xspf.Meta)
|
© 2008-2009 Christophe Delory | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||