christophedelory.rss.media
Class Group
java.lang.Object
christophedelory.rss.media.BaseMedia
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()
|
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 |
Group
public Group()
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)
Copyright © 2008-2009 Christophe Delory. All Rights Reserved.