com.blackledge.david.tivo.hmoclient
Class AudioItem

java.lang.Object
  extended by com.blackledge.david.tivo.hmoclient.Item
      extended by com.blackledge.david.tivo.hmoclient.AudioItem

public class AudioItem
extends Item

<ArtistName>{text}</ArtistName> <AlbumTitle>{text}</AlbumTitle> <SongTitle>{text}</SongTitle> <AlbumYear>{date}</AlbumYear> <MusicGenre>{text}</MusicGenre> <SourceBitRate>{bits-per-second}</SourceBitRate> <SourceSampleRate>{samples-per-second}</SourceSampleRate> <Duration>{msecs}</Duration> <RecordLabel>{text}</RecordLabel>

Version:
$Revision: 1.3 $

Field Summary
 
Fields inherited from class com.blackledge.david.tivo.hmoclient.Item
contentLink, request
 
Constructor Summary
AudioItem(ContainerRequest request)
           
AudioItem(ContainerRequest request, Element node)
           
 
Method Summary
 String getAlbumTitle()
           
 String getAlbumYear()
           
 String getArtistName()
           
 long getDuration()
           
 String getMusicGenre()
           
 String getRecordLabel()
           
 String getSongTitle()
           
 long getSourceBitRate()
           
 long getSourceSampleRate()
           
protected  void initDetails(Element description)
          Basic Item details: <Title>{text}</Title> <ContentType>{mime-type}</ContentType> <SourceFormat>{mime-type}</SourceFormat> Optional details: <CreationDate>{date}</CreationDate> <LastChangeDate>{date}</LastChangeDate> <LastAccessDate>{date}</LastAccessDate> <SourceLocation>{text}</SourceLocation> <SourceSize>{bytes}</SourceSize> <Copyright>{text}</Copyright>
 
Methods inherited from class com.blackledge.david.tivo.hmoclient.Item
getAllDetails, getChildElementsByTagName, getChildTagMap, getContentType, getContentURL, getCopyright, getCreated, getCreationDate, getCustomIcon, getDate, getLastAccessDate, getLastAccessed, getLastChanged, getLastChangeDate, getLinks, getLong, getNodeValue, getSingleChildElementByTagName, getSourceFormat, getSourceLocation, getSourceSize, getTitle, isContainer, newContainerRequest, newContainerRequest, singleNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AudioItem

public AudioItem(ContainerRequest request,
                 Element node)

AudioItem

public AudioItem(ContainerRequest request)
Method Detail

initDetails

protected void initDetails(Element description)
Description copied from class: Item
Basic Item details: <Title>{text}</Title> <ContentType>{mime-type}</ContentType> <SourceFormat>{mime-type}</SourceFormat> Optional details: <CreationDate>{date}</CreationDate> <LastChangeDate>{date}</LastChangeDate> <LastAccessDate>{date}</LastAccessDate> <SourceLocation>{text}</SourceLocation> <SourceSize>{bytes}</SourceSize> <Copyright>{text}</Copyright>

Overrides:
initDetails in class Item

getDuration

public long getDuration()

getSourceBitRate

public long getSourceBitRate()

getSourceSampleRate

public long getSourceSampleRate()

getAlbumTitle

public String getAlbumTitle()

getAlbumYear

public String getAlbumYear()

getArtistName

public String getArtistName()

getMusicGenre

public String getMusicGenre()

getRecordLabel

public String getRecordLabel()

getSongTitle

public String getSongTitle()