public class

YtVideoId

extends AbstractExtension
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.youtube.YtVideoId

Class Overview

VideoId class. This sets the yt:videoid in the MediaGroup.

Summary

Fields
private String videoId
[Expand]
Inherited Fields
From class com.google.gdata.data.AbstractExtension
Public Constructors
YtVideoId()
Creates an empty video ID tag.
YtVideoId(String videoId)
Creates and initializes a video ID tag.
Public Methods
String getVideoId()
Gets video ID.
void setVideoId(String id)
Sets video ID.
Protected Methods
void consumeAttributes(AttributeHelper helper)
Consumes attributes from the attribute helper.
void putAttributes(AttributeGenerator generator)
Puts attributes into the attribute generator.
[Expand]
Inherited Methods
From class com.google.gdata.data.AbstractExtension
From class java.lang.Object
From interface com.google.gdata.data.Extension

Fields

private String videoId

Public Constructors

public YtVideoId ()

Creates an empty video ID tag.

public YtVideoId (String videoId)

Creates and initializes a video ID tag.

Parameters
videoId

Public Methods

public String getVideoId ()

Gets video ID.

public void setVideoId (String id)

Sets video ID.

Parameters
id

Protected Methods

protected void consumeAttributes (AttributeHelper helper)

Consumes attributes from the attribute helper. May also use consumeContent(boolean) to consume the element's text content. Called from getHandler(ExtensionProfile, String, String, Attributes). Default implementation does nothing, though generally this is discouraged unless there really are no attributes.

Parameters
helper Attribute helper

protected void putAttributes (AttributeGenerator generator)

Puts attributes into the attribute generator. Called from generate(XmlWriter, ExtensionProfile). Default implementation does nothing, though generally this is discouraged unless there really are no attributes.

Parameters
generator Attribute generator