public class

YtPosition

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

Class Overview

Object representation for the yt:position tag.

Summary

Fields
private int position 0-based position
[Expand]
Inherited Fields
From class com.google.gdata.data.AbstractExtension
Public Constructors
YtPosition()
Creates an empty position tag.
YtPosition(int position)
Creates a tag and sets the position.
Public Methods
int getPosition()
Gets the position (0-based).
void setPosition(int position)
Sets the position (0-based).
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 position

0-based position

Public Constructors

public YtPosition ()

Creates an empty position tag.

public YtPosition (int position)

Creates a tag and sets the position.

Parameters
position Position

Public Methods

public int getPosition ()

Gets the position (0-based).

public void setPosition (int position)

Sets the position (0-based).

Parameters
position

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