Lizzy v1.1.1

christophedelory.rss.media
Class Group

java.lang.Object
  extended by christophedelory.rss.media.BaseMedia
      extended by christophedelory.rss.media.Group

public class Group
extends BaseMedia

Allows grouping of media content elements that are effectively the same content, yet different representations. Media objects that are not the same content should not be included in the same media group element. For instance: the same song recorded in both the WAV and MP3 format. It's an optional element that must only be used for this purpose.

Version:
$Revision: 92 $
Author:
Christophe Delory

Constructor Summary
Group()
           
 
Method Summary
 void addMediaContent(Content mediaContent)
          Adds a media content.
 List<Content> getMediaContents()
          Returns the list of media contents.
 
Methods inherited from class christophedelory.rss.media.BaseMedia
addMediaCategory, addMediaCredit, addMediaHash, addMediaRating, addMediaRestriction, addMediaText, addMediaThumbnail, getMediaAdult, getMediaCategories, getMediaCopyright, getMediaCredits, getMediaDescription, getMediaHashes, getMediaKeywords, getMediaPlayer, getMediaRatings, getMediaRestrictions, getMediaTexts, getMediaThumbnails, getMediaTitle, isMediaAdult, setMediaAdult, setMediaAdult, setMediaCopyright, setMediaDescription, setMediaKeywords, setMediaPlayer, setMediaTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Group

public Group()
Method Detail

addMediaContent

public void addMediaContent(Content mediaContent)
Adds a media content.

Parameters:
mediaContent - a media content. Shall not be null.
Throws:
NullPointerException - if mediaContent is null.
See Also:
getMediaContents()

getMediaContents

public List<Content> getMediaContents()
Returns the list of media contents.

Returns:
a list of media contents. May be empty but not null.
See Also:
addMediaContent(christophedelory.rss.media.Content)

© 2008-2009 Christophe Delory

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