public abstract class

FeedLinkEntry

extends BaseEntry<E extends BaseEntry>
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.youtube.FeedLinkEntry<T extends com.google.gdata.data.BaseEntry>
Known Direct Subclasses

Class Overview

An entry that's actually a glorified feed link, used in playlists and subscription feeds.

Summary

[Expand]
Inherited Fields
From class com.google.gdata.data.BaseEntry
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
Public Methods
void declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile.
Integer getCountHint()
Gets an estimate of how many entries can be found in the enclosed feed.
String getDescription()
This method is deprecated. Valid only in version 1. Replaced in version 2.0 with atom:summary.
FeedLink<?> getFeedLink()
This method is deprecated. Starting with version 2, the feed link can be found in the content. See getFeedUrl() and getCountHint().
String getFeedUrl()
Gets the URL of the enclosed feed.
MediaThumbnail getThumbnail()
Gets the thumbnail.
void setCountHint(Integer hint)
Sets the estimate of how many entries can be found in the enclosed feed.
void setDescription(String description)
This method is deprecated. Valid only in version 1. Replaced in version 2.0 with atom:summary.
void setFeedLink(FeedLink<?> feedLink)
This method is deprecated. Starting with version 2, the feed link can be found in the content.
void setThumbnail(MediaThumbnail thumbnail)
Sets the thumbnail.
[Expand]
Inherited Methods
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

Public Methods

public void declareExtensions (ExtensionProfile extProfile)

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.

Parameters
extProfile The ExtensionProfile to initialize.

public Integer getCountHint ()

Gets an estimate of how many entries can be found in the enclosed feed. This method works both in version 1 and 2

Returns
  • an estimate of the number of entries in the enclosed feed or null

public String getDescription ()

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

Gets the plaintext user-provided description.

public FeedLink<?> getFeedLink ()

This method is deprecated.
Starting with version 2, the feed link can be found in the content. See getFeedUrl() and getCountHint().

Gets the feed link.

public String getFeedUrl ()

Gets the URL of the enclosed feed. This method works both in version 1 and 2.

Returns
  • URL to the enclosed feed or null

public MediaThumbnail getThumbnail ()

Gets the thumbnail.

public void setCountHint (Integer hint)

Sets the estimate of how many entries can be found in the enclosed feed. This method adds a tag yt:countHint.

Parameters
hint Count hint or null

public void setDescription (String description)

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

Sets the plaintext user-provided description.

Parameters
description

public void setFeedLink (FeedLink<?> feedLink)

This method is deprecated.
Starting with version 2, the feed link can be found in the content.

Sets the feed link.

Parameters
feedLink

public void setThumbnail (MediaThumbnail thumbnail)

Sets the thumbnail.

Parameters
thumbnail