public class

MediaRating

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

Class Overview

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

Summary

Constants
String DEFAULT_SCHEME
Fields
private String scheme
[Expand]
Inherited Fields
From class com.google.gdata.data.AbstractExtension
Public Constructors
MediaRating()
Public Methods
String getContent()
String getScheme()
void setContent(String content)
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

Constant Value: "urn:simple"

Fields

private String scheme

Public Constructors

public MediaRating ()

Public Methods

public String getContent ()

public String getScheme ()

public void setContent (String content)

Parameters
content

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