public class PlaylistFeed extends BaseFeed<PlaylistFeed,PlaylistEntry>
BaseFeed.FeedHandler
Source.SourceHandler
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
CATEGORIES
Nonstandard categories that might be found in this feed.
|
Constructor and Description |
---|
PlaylistFeed() |
PlaylistFeed(BaseFeed<?,?> base) |
Modifier and Type | Method and Description |
---|---|
void |
declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within
the target extension profile.
|
YouTubeMediaGroup |
getMediaGroup() |
YouTubeMediaGroup |
getOrCreateMediaGroup() |
java.lang.String |
getPlaylistId()
Get the id of the playlist.
|
boolean |
isPrivate()
Gets the private field of the feed.
|
void |
setPlaylistId(java.lang.String playlistId)
Set the id of the playlist.
|
void |
setPrivate(boolean value)
Sets the private field of the feed.
|
addAdaptor, createEntry, generate, generateAtom, generateFeedEnd, generateFeedStart, generateRss, getAdaptedFeed, getAdaptor, getAdaptors, getCanPost, getEntries, getEntries, getEntryPostLink, getEtag, getFeedBatchLink, getHandler, getItemsPerPage, getKind, getNextLink, getPreviousLink, getSelectedFields, getSelf, getSelfLink, getService, getStartIndex, getTotalResults, getVersionId, insert, parseAtom, parseAtom, parseAtom, readFeed, readFeed, setCanPost, setEntries, setEtag, setItemsPerPage, setKind, setSelectedFields, setService, setStartIndex, setTotalResults, setVersionId
addHtmlLink, addLink, addLink, getAuthors, getCategories, getContributors, getGenerator, getHtmlLink, getIcon, getId, getLink, getLinks, getLinks, getLogo, getRights, getSubtitle, getTitle, getUpdated, removeLinks, removeLinks, setGenerator, setGenerator, setIcon, setId, setLogo, setRights, setSubtitle, setTitle, setUpdated
addExtension, addRepeatingExtension, generateCumulativeXmlBlob, getExtension, getExtensions, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit
disableStrictValidation, enableStrictValidation, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, setImmutable
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getGenerator, getLogo, getSubtitle, setGenerator, setLogo
addLink, getAuthors, getCategories, getId, getLink, getLinks, getTitle, getUpdated, removeLinks, removeLinks, setId, setUpdated
public static final java.lang.String[] CATEGORIES
public PlaylistFeed()
public PlaylistFeed(BaseFeed<?,?> base)
public void declareExtensions(ExtensionProfile extProfile)
BaseFeed
The implementation of this method for BaseFeed will declare any extensions associated with the contained entry type.
declareExtensions
in interface Kind.Adaptor
declareExtensions
in class BaseFeed<PlaylistFeed,PlaylistEntry>
extProfile
- the ExtensionProfile to initialize.ExtensionProfile.addDeclarations(Kind.Adaptor)
public java.lang.String getPlaylistId()
public void setPlaylistId(java.lang.String playlistId)
playlistId
- the id of the playlistpublic boolean isPrivate()
public void setPrivate(boolean value)
public YouTubeMediaGroup getMediaGroup()
public YouTubeMediaGroup getOrCreateMediaGroup()