com.google.gdata.data.youtube
Class PlaylistFeed
java.lang.Object
com.google.gdata.data.AbstractExtension
com.google.gdata.data.ExtensionPoint
com.google.gdata.data.Source
com.google.gdata.data.BaseFeed<PlaylistFeed,PlaylistEntry>
com.google.gdata.data.youtube.PlaylistFeed
- All Implemented Interfaces:
- Extension, IAtom, IFeed, Kind.Adaptable, Kind.Adaptor
public class PlaylistFeed
- extends BaseFeed<PlaylistFeed,PlaylistEntry>
A YouTube playlist feed.
Field Summary |
static java.lang.String[] |
CATEGORIES
Nonstandard categories that might be found in this feed. |
Methods inherited from class com.google.gdata.data.BaseFeed |
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 |
Methods inherited from class com.google.gdata.data.Source |
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 |
Methods inherited from class com.google.gdata.data.ExtensionPoint |
addExtension, addRepeatingExtension, generateCumulativeXmlBlob, getExtension, getExtensions, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.google.gdata.data.IAtom |
addLink, getAuthors, getCategories, getId, getLink, getLinks, getTitle, getUpdated, removeLinks, removeLinks, setId, setUpdated |
CATEGORIES
public static final java.lang.String[] CATEGORIES
- Nonstandard categories that might be found in this feed.
PlaylistFeed
public PlaylistFeed()
PlaylistFeed
public PlaylistFeed(BaseFeed<?,?> base)
declareExtensions
public void declareExtensions(ExtensionProfile extProfile)
- Description copied from class:
BaseFeed
- Declares the set of expected Extension types for an ExtensionPoint within
the target extension profile. The base implementation does not declare any
extensions, but can be overridden by specific types of ExtensionPoints that
always contain a well-defined set of extensions.
The implementation of this method for BaseFeed will declare any
extensions associated with the contained entry type.
- Specified by:
declareExtensions
in interface Kind.Adaptor
- Overrides:
declareExtensions
in class BaseFeed<PlaylistFeed,PlaylistEntry>
- Parameters:
extProfile
- the ExtensionProfile to initialize.- See Also:
ExtensionProfile.addDeclarations(Kind.Adaptor)
getPlaylistId
public java.lang.String getPlaylistId()
- Get the id of the playlist.
- Returns:
- the playlist id
setPlaylistId
public void setPlaylistId(java.lang.String playlistId)
- Set the id of the playlist.
- Parameters:
playlistId
- the id of the playlist
isPrivate
public boolean isPrivate()
- Gets the private field of the feed.
setPrivate
public void setPrivate(boolean value)
- Sets the private field of the feed.
getMediaGroup
public YouTubeMediaGroup getMediaGroup()
getOrCreateMediaGroup
public YouTubeMediaGroup getOrCreateMediaGroup()