|
|||||||||
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, BaseEntry.EntryState |
Nested classes/interfaces inherited from class com.google.gdata.data.ExtensionPoint |
---|
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler |
Nested classes/interfaces inherited from class com.google.gdata.data.AbstractExtension |
---|
AbstractExtension.AttributesHandler |
Field Summary | |
---|---|
static java.lang.String[] |
CATEGORIES
Nonstandard categories that might be found in this entry. |
Fields inherited from class com.google.gdata.data.BaseEntry |
---|
state |
Fields inherited from class com.google.gdata.data.ExtensionPoint |
---|
xmlBlob |
Fields inherited from class com.google.gdata.data.AbstractExtension |
---|
localName, namespace |
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. |
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 |
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. |
Methods inherited from class com.google.gdata.data.media.MediaEntry |
---|
getContentHandlerInfo, 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, getLink, getLinks, getLinks, getPlainTextContent, getPubControl, getPublished, getRights, getSelf, getSelfLink, getService, getSource, getSummary, getTextContent, getTitle, getUpdated, getVersionId, isDraft, parseAtom, parseAtom, parseAtom, readEntry, readEntry, removeLinks, setCanEdit, setContent, setContent, setDraft, setEdited, setEtag, setId, setPubControl, setPublished, setRights, setSource, setSummary, setTitle, setUpdated, setVersionId, update, visitChildren |
Methods inherited from class com.google.gdata.data.AbstractExtension |
---|
consumeAttributes, eq, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, putAttributes, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 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 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 |