public class

MediaKeywords

extends AbstractExtension
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.media.mediarss.MediaKeywords

Class Overview

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

Summary

Fields
private final List<String> keywords
[Expand]
Inherited Fields
From class com.google.gdata.data.AbstractExtension
Public Constructors
MediaKeywords()
Public Methods
void addKeyword(String keyword)
void addKeywords(Collection<String> keywords)
void clearKeywords()
static ExtensionDescription getDefaultDescription()
Describes the tag to an ExtensionProfile.
List<String> getKeywords()
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

Fields

private final List<String> keywords

Public Constructors

public MediaKeywords ()

Public Methods

public void addKeyword (String keyword)

Parameters
keyword

public void addKeywords (Collection<String> keywords)

Parameters
keywords

public void clearKeywords ()

public static ExtensionDescription getDefaultDescription ()

Describes the tag to an ExtensionProfile.

public List<String> getKeywords ()

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