com.google.gdata.data.youtube
Class PlaylistEntry
java.lang.Object
com.google.gdata.data.AbstractExtension
com.google.gdata.data.ExtensionPoint
com.google.gdata.data.BaseEntry<E>
com.google.gdata.data.media.MediaEntry<VideoEntry>
com.google.gdata.data.youtube.VideoEntry
com.google.gdata.data.youtube.PlaylistEntry
- All Implemented Interfaces:
- Extension, IAtom, IEntry, Kind.Adaptable, Kind.Adaptor, IMediaEntry
public class PlaylistEntry
- extends VideoEntry
A YouTube playlist entry.
Method Summary |
void |
declareExtensions(ExtensionProfile extProfile)
Declares extensions that can appear in this entry. |
java.lang.String |
getDescription()
Deprecated. Valid only in version 1. Replaced version 2.0 with
atom:summary. |
java.lang.Integer |
getPosition()
Gets the 0-based position of this entry in the playlist. |
void |
setDescription(java.lang.String description)
Deprecated. Valid only in version 1. Replaced version 2.0 with
atom:summary. |
void |
setPosition(java.lang.Integer position)
Sets the 0-based position of this entry in the playlist. |
Methods inherited from class com.google.gdata.data.youtube.VideoEntry |
getComments, getComplaintsLink, getFeedLinks, getGeoCoordinates, getLocation, getMediaGroup, getOrCreateMediaGroup, getPublicationState, getRating, getRatingLink, getRecorded, getRelatedVideosLink, getStatistics, getVideoResponsesLink, getYtRating, isEmbeddable, isRacy, isYtIncomplete, setComments, setEmbeddable, setGeoCoordinates, setLocation, setPublicationState, setRacy, setRating, setRecorded, setStatistics, setYtIncomplete, setYtRating |
Methods inherited from class com.google.gdata.data.BaseEntry |
addAdaptor, addHtmlLink, addLink, addLink, delete, generate, generateAtom, generateRss, getAdaptedEntry, getAdaptor, getAdaptors, getAuthors, getCanEdit, getCategories, getContent, getContributors, getEdited, getEditLink, getEtag, getHandler, getHtmlLink, getId, getKind, getLink, getLinks, getLinks, getPlainTextContent, getPubControl, getPublished, getResumableEditMediaLink, getRights, getSelectedFields, getSelf, getSelfLink, getService, getSource, getSummary, getTextContent, getTitle, getUpdated, getVersionId, isDraft, parseAtom, parseAtom, parseAtom, readEntry, readEntry, removeLinks, removeLinks, setCanEdit, setContent, setContent, setDraft, setEdited, setEtag, setId, setKind, setPubControl, setPublished, setRights, setSelectedFields, setSource, setSummary, setTitle, setUpdated, setVersionId, update |
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.IEntry |
getCanEdit, getContent, getEdited, getEditLink, getPublished, getResumableEditMediaLink, getSelectedFields, getSummary, setCanEdit, setEdited, setPublished, setSelectedFields |
Methods inherited from interface com.google.gdata.data.IAtom |
addLink, getAuthors, getCategories, getEtag, getId, getKind, getLink, getLinks, getSelfLink, getTitle, getUpdated, getVersionId, removeLinks, removeLinks, setEtag, setId, setKind, setUpdated, setVersionId |
PlaylistEntry
public PlaylistEntry()
- Creates an empty playlist entry.
PlaylistEntry
public PlaylistEntry(BaseEntry<?> original)
- Creates a copy of another entry.
declareExtensions
public void declareExtensions(ExtensionProfile extProfile)
- Declares extensions that can appear in this entry.
The namespaces should be declared by the feeds themselves
if they want them to appear in the top element of the feed.
- Specified by:
declareExtensions
in interface Kind.Adaptor
- Overrides:
declareExtensions
in class VideoEntry
- Parameters:
extProfile
- profile to register extensions to- See Also:
ExtensionProfile.addDeclarations(Kind.Adaptor)
getPosition
public java.lang.Integer getPosition()
- Gets the 0-based position of this entry in the playlist.
- Returns:
- the position or null if not found
setPosition
public void setPosition(java.lang.Integer position)
- Sets the 0-based position of this entry in the playlist.
- Parameters:
position
- the new position
getDescription
@Deprecated
public java.lang.String getDescription()
- Deprecated. Valid only in version 1. Replaced version 2.0 with
atom:summary.
- Gets the playlist description.
setDescription
@Deprecated
public void setDescription(java.lang.String description)
- Deprecated. Valid only in version 1. Replaced version 2.0 with
atom:summary.
- Sets the playlist description.