public class

PlaylistEntry

extends VideoEntry
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.ExtensionPoint
       ↳ com.google.gdata.data.BaseEntry<E extends com.google.gdata.data.BaseEntry>
         ↳ com.google.gdata.data.media.MediaEntry<E extends com.google.gdata.data.BaseEntry<E>>
           ↳ com.google.gdata.data.youtube.VideoEntry
             ↳ com.google.gdata.data.youtube.PlaylistEntry

Class Overview

A YouTube playlist entry.

Summary

[Expand]
Inherited Fields
From class com.google.gdata.data.youtube.VideoEntry
From class com.google.gdata.data.BaseEntry
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
Public Constructors
PlaylistEntry()
Creates an empty playlist entry.
PlaylistEntry(BaseEntry<?> original)
Creates a copy of another entry.
Public Methods
void declareExtensions(ExtensionProfile extProfile)
Declares extensions that can appear in this entry.
String getDescription()
This method is deprecated. Valid only in version 1. Replaced version 2.0 with atom:summary.
Integer getPosition()
Gets the 0-based position of this entry in the playlist.
void setDescription(String description)
This method is deprecated. Valid only in version 1. Replaced version 2.0 with atom:summary.
void setPosition(Integer position)
Sets the 0-based position of this entry in the playlist.
[Expand]
Inherited Methods
From class com.google.gdata.data.youtube.VideoEntry
From class com.google.gdata.data.media.MediaEntry
From class com.google.gdata.data.BaseEntry
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
From class java.lang.Object
From interface com.google.gdata.data.Extension
From interface com.google.gdata.data.IAtom
From interface com.google.gdata.data.IEntry
From interface com.google.gdata.data.Kind.Adaptable
From interface com.google.gdata.data.Kind.Adaptor
From interface com.google.gdata.data.media.IMediaEntry

Public Constructors

public PlaylistEntry ()

Creates an empty playlist entry.

public PlaylistEntry (BaseEntry<?> original)

Creates a copy of another entry.

Parameters
original

Public Methods

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.

Parameters
extProfile Profile to register extensions to

public String getDescription ()

This method is deprecated.
Valid only in version 1. Replaced version 2.0 with atom:summary.

Gets the playlist description.

public Integer getPosition ()

Gets the 0-based position of this entry in the playlist.

Returns
  • the position or null if not found

public void setDescription (String description)

This method is deprecated.
Valid only in version 1. Replaced version 2.0 with atom:summary.

Sets the playlist description.

Parameters
description

public void setPosition (Integer position)

Sets the 0-based position of this entry in the playlist.

Parameters
position The new position