public class

YtAge

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

Class Overview

Object representation for the yt:age tag.

Summary

Fields
private int age
[Expand]
Inherited Fields
From class com.google.gdata.data.AbstractExtension
Public Constructors
YtAge()
Creates an empty age tag.
YtAge(int age)
Creates a tag and sets the age.
Public Methods
int getAge()
Gets the age.
void setAge(int age)
Sets the age.
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 int age

Public Constructors

public YtAge ()

Creates an empty age tag.

public YtAge (int age)

Creates a tag and sets the age.

Parameters
age Age

Public Methods

public int getAge ()

Gets the age.

public void setAge (int age)

Sets the age.

Parameters
age

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