|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.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
public class VideoEntry
Video entry for the youtube feeds.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gdata.data.BaseEntry |
---|
BaseEntry.AtomHandler |
Nested classes/interfaces inherited from class com.google.gdata.data.ExtensionPoint |
---|
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler |
Field Summary | |
---|---|
static java.lang.String[] |
CATEGORIES
Nonstandard categories that might be found in this entry. |
Constructor Summary | |
---|---|
VideoEntry()
Creates an empty video entry. |
|
VideoEntry(BaseEntry<?> original)
Creates a copy of another entry. |
|
VideoEntry(java.lang.String id)
Creates a new video entry and initializes it. |
Method Summary | |
---|---|
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. |
java.util.List<FeedLink> |
getFeedLinks()
Gets all gd:feedLink tags. |
GeoRssWhere |
getGeoCoordinates()
Gets the georss:where tag. |
java.lang.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()
Deprecated. in favor of MediaGroup#getRatings() with scheme YouTubeNamespace.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(java.lang.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)
Deprecated. in favor of MediaGroup#getRatings() with scheme YouTubeNamespace.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. |
Methods inherited from class com.google.gdata.data.media.MediaEntry |
---|
getMediaEditLink, getMediaSource, setMediaSource, setService, updateMedia |
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 com.google.gdata.data.AbstractExtension |
---|
disableStrictValidation, enableStrictValidation, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, setImmutable |
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 |
Field Detail |
---|
public static final java.lang.String[] CATEGORIES
Constructor Detail |
---|
public VideoEntry()
public VideoEntry(BaseEntry<?> original)
public VideoEntry(java.lang.String id)
Method Detail |
---|
public void setStatistics(YtStatistics stats)
public YtStatistics getStatistics()
public boolean isEmbeddable()
public void setEmbeddable(boolean embeddable)
@Deprecated public void setRacy(boolean racy)
MediaGroup#getRatings()
with scheme YouTubeNamespace.MEDIA_RATING_SCHEME
. Removed in version 2.
@Deprecated public boolean isRacy()
MediaGroup#getRatings()
with scheme YouTubeNamespace.MEDIA_RATING_SCHEME
. Removed in version 2
public void setRecorded(DateTime date)
public DateTime getRecorded()
public void setGeoCoordinates(GeoRssWhere where)
public GeoRssWhere getGeoCoordinates()
public java.lang.String getLocation()
public void setLocation(java.lang.String location)
public java.util.List<FeedLink> getFeedLinks()
public Comments getComments()
null
.
public void setComments(Comments comments)
public Link getVideoResponsesLink()
public Link getRatingLink()
public Link getComplaintsLink()
public Link getRelatedVideosLink()
public Rating getRating()
public void setRating(Rating rating)
public YtRating getYtRating()
public void setYtRating(YtRating rating)
public void setPublicationState(YtPublicationState state)
state
- publication state or null
public YtPublicationState getPublicationState()
null
, in which case
the video is livepublic YouTubeMediaGroup getMediaGroup()
public YouTubeMediaGroup getOrCreateMediaGroup()
public void setYtIncomplete(boolean ytIncomplete)
public boolean isYtIncomplete()
true
if the entry is marked incomplete
false
otherwise.public void declareExtensions(ExtensionProfile extProfile)
ExtensionPoint
declareExtensions
in interface Kind.Adaptor
declareExtensions
in class ExtensionPoint
extProfile
- the ExtensionProfile to initialize.ExtensionProfile.addDeclarations(Kind.Adaptor)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |