public class

YtRelationship

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

Class Overview

Object representation for the yt:relationship tag

Summary

Nested Classes
enum YtRelationship.Status Relationship value. 
Fields
private YtRelationship.Status status
[Expand]
Inherited Fields
From class com.google.gdata.data.AbstractExtension
Public Constructors
YtRelationship()
Creates an empty tag.
YtRelationship(YtRelationship.Status status)
Creates a tag and initializes its content.
Public Methods
YtRelationship.Status getStatus()
Gets the relationship status.
void setStatus(YtRelationship.Status status)
Sets the relationship status.
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 YtRelationship.Status status

Public Constructors

public YtRelationship ()

Creates an empty tag.

public YtRelationship (YtRelationship.Status status)

Creates a tag and initializes its content.

Parameters
status

Public Methods

public YtRelationship.Status getStatus ()

Gets the relationship status.

Returns
  • status or null

public void setStatus (YtRelationship.Status status)

Sets the relationship status.

Parameters
status Status or null

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