public class

VideoEntry

extends MediaEntry<E extends BaseEntry<E>>
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
Known Direct Subclasses

Class Overview

Video entry for the youtube feeds.

Summary

Fields
public static final String[] CATEGORIES Nonstandard categories that might be found in this entry.
[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 Constructors
VideoEntry()
Creates an empty video entry.
VideoEntry(BaseEntry<?> original)
Creates a copy of another entry.
VideoEntry(String id)
Creates a new video entry and initializes it.
Public Methods
void declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile.
Comments getComments()
Gets the comments tag or null.
Link getComplaintsLink()
Returns a link to the video complaints feed.
List<FeedLink> getFeedLinks()
Gets all gd:feedLink tags.
GeoRssWhere getGeoCoordinates()
Gets the georss:where tag.
String getLocation()
Gets the yt:location tag.
YouTubeMediaGroup getMediaGroup()
YouTubeMediaGroup getOrCreateMediaGroup()
YtPublicationState getPublicationState()
Gets the publication state of this entry from the tag app:control/yt:status.
Rating getRating()
Gets the gd:rating tag.
Link getRatingLink()
Returns a link to the video rating feed.
DateTime getRecorded()
Gets the value of the yt:recorded tag.
Link getRelatedVideosLink()
Returns a link to the related videos feed.
YtStatistics getStatistics()
Gets yt:statistics tag.
Link getVideoResponsesLink()
Returns a link to the video responses feed.
YtRating getYtRating()
Gets the yt:rating tag.
boolean isEmbeddable()
Gets whether external sites can embed and play this video.
boolean isRacy()
This method is deprecated. in favor of MediaGroup#getRatings() with scheme MEDIA_RATING_SCHEME. Removed in version 2
boolean isYtIncomplete()
Gets the completion state of this entry from the tag app:control/yt:incomplete.
void setComments(Comments comments)
Sets the comments tag.
void setEmbeddable(boolean embeddable)
void setGeoCoordinates(GeoRssWhere where)
Adds a georss:where tag.
void setLocation(String location)
Sets the yt:location tag.
void setPublicationState(YtPublicationState state)
Sets the publication state of this entry, using the tag app:control/yt:status.
void setRacy(boolean racy)
This method is deprecated. in favor of MediaGroup#getRatings() with scheme MEDIA_RATING_SCHEME. Removed in version 2.
void setRating(Rating rating)
Sets the gd:rating tag.
void setRecorded(DateTime date)
Sets the value of the yt:recorded tag.
void setStatistics(YtStatistics stats)
Sets yt:statistics tag.
void setYtIncomplete(boolean ytIncomplete)
Sets the completion state of this entry, using the tag app:control/yt:incomplete.
void setYtRating(YtRating rating)
Sets the yt:rating.
[Expand]
Inherited Methods
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

Fields

public static final String[] CATEGORIES

Nonstandard categories that might be found in this entry.

Public Constructors

public VideoEntry ()

Creates an empty video entry.

public VideoEntry (BaseEntry<?> original)

Creates a copy of another entry.

Parameters
original

public VideoEntry (String id)

Creates a new video entry and initializes it. ` * @param id entry atom/rss id

Parameters
id

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 Comments getComments ()

Gets the comments tag or null.

public Link getComplaintsLink ()

Returns a link to the video complaints feed.

public List<FeedLink> getFeedLinks ()

Gets all gd:feedLink tags.

public GeoRssWhere getGeoCoordinates ()

Gets the georss:where tag.

public String getLocation ()

Gets the yt:location tag.

public YouTubeMediaGroup getMediaGroup ()

public YouTubeMediaGroup getOrCreateMediaGroup ()

public YtPublicationState getPublicationState ()

Gets the publication state of this entry from the tag app:control/yt:status.

Returns
  • publication state or null, in which case the video is live

public Rating getRating ()

Gets the gd:rating tag.

public Link getRatingLink ()

Returns a link to the video rating feed.

public DateTime getRecorded ()

Gets the value of the yt:recorded tag.

public Link getRelatedVideosLink ()

Returns a link to the related videos feed.

public YtStatistics getStatistics ()

Gets yt:statistics tag.

public Link getVideoResponsesLink ()

Returns a link to the video responses feed.

public YtRating getYtRating ()

Gets the yt:rating tag.

public boolean isEmbeddable ()

Gets whether external sites can embed and play this video.

public boolean isRacy ()

This method is deprecated.
in favor of MediaGroup#getRatings() with scheme MEDIA_RATING_SCHEME. Removed in version 2

Checks the yt:racy flag.

public boolean isYtIncomplete ()

Gets the completion state of this entry from the tag app:control/yt:incomplete.

Returns
  • true if the entry is marked incomplete false otherwise.

public void setComments (Comments comments)

Sets the comments tag.

Parameters
comments

public void setEmbeddable (boolean embeddable)

Parameters
embeddable

public void setGeoCoordinates (GeoRssWhere where)

Adds a georss:where tag.

Parameters
where

public void setLocation (String location)

Sets the yt:location tag.

Parameters
location

public void setPublicationState (YtPublicationState state)

Sets the publication state of this entry, using the tag app:control/yt:status.

Parameters
state Publication state or null

public void setRacy (boolean racy)

This method is deprecated.
in favor of MediaGroup#getRatings() with scheme MEDIA_RATING_SCHEME. Removed in version 2.

Sets the yt:racy flag.

Parameters
racy

public void setRating (Rating rating)

Sets the gd:rating tag.

Parameters
rating

public void setRecorded (DateTime date)

Sets the value of the yt:recorded tag.

Parameters
date

public void setStatistics (YtStatistics stats)

Sets yt:statistics tag.

Parameters
stats

public void setYtIncomplete (boolean ytIncomplete)

Sets the completion state of this entry, using the tag app:control/yt:incomplete.

Parameters
ytIncomplete

public void setYtRating (YtRating rating)

Sets the yt:rating.

Parameters
rating