public class

YtRecorded

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

Class Overview

Object representation of the tag yt:recorded.

Summary

Fields
private DateTime date
[Expand]
Inherited Fields
From class com.google.gdata.data.AbstractExtension
Public Constructors
YtRecorded()
YtRecorded(DateTime date)
Public Methods
DateTime getDate()
Gets the date.
void setDate(DateTime date)
Sets the date.
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 date

Public Constructors

public YtRecorded ()

public YtRecorded (DateTime date)

Parameters
date

Public Methods

public DateTime getDate ()

Gets the date.

Returns
  • a date or null.

public void setDate (DateTime date)

Sets the date.

Parameters
date A DateTime that contains only a date. See setDateOnly(boolean).

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