public class

YtUploaded

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

Class Overview

Video upload time tag inside "media:group": "yt:uploaded".

Summary

Fields
private DateTime dateTime
[Expand]
Inherited Fields
From class com.google.gdata.data.AbstractExtension
Public Constructors
YtUploaded()
YtUploaded(DateTime dateTime)
Public Methods
DateTime getDateTime()
Returns the currently set uploaded date time or null if none set.
void setDateTime(DateTime dateTime)
Changes the uploaded date time.
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 DateTime dateTime

Public Constructors

public YtUploaded ()

public YtUploaded (DateTime dateTime)

Parameters
dateTime

Public Methods

public DateTime getDateTime ()

Returns the currently set uploaded date time or null if none set.

public void setDateTime (DateTime dateTime)

Changes the uploaded date time.

Parameters
dateTime

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