public class

MediaCredit

extends AbstractExtension
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.media.mediarss.MediaCredit
Known Direct Subclasses

Class Overview

<media:credit>. See description on http://search.yahoo.com/mrss.

Summary

Constants
String DEFAULT_SCHEME Default scheme, as defined on http://search.yahoo.com/mrss.
Fields
private String role
private String scheme
[Expand]
Inherited Fields
From class com.google.gdata.data.AbstractExtension
Public Constructors
MediaCredit()
Public Methods
String getContent()
String getRole()
String getScheme()
void setContent(String content)
void setRole(String role)
void setScheme(String scheme)
Protected Methods
void consumeAttributes(AttributeHelper attrsHelper)
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

Constants

public static final String DEFAULT_SCHEME

Default scheme, as defined on http://search.yahoo.com/mrss. European Broadcasting Union codes: http://www.ebu.ch/en/technical/metadata/specifications/role_codes.php

Constant Value: "urn:ebu"

Fields

private String role

private String scheme

Public Constructors

public MediaCredit ()

Public Methods

public String getContent ()

public String getRole ()

public String getScheme ()

public void setContent (String content)

Parameters
content

public void setRole (String role)

Parameters
role

public void setScheme (String scheme)

Parameters
scheme

Protected Methods

protected void consumeAttributes (AttributeHelper attrsHelper)

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
attrsHelper 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