public abstract class

AbstractFreeTextExtension

extends AbstractExtension
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.youtube.AbstractFreeTextExtension
Known Direct Subclasses

Class Overview

An extension with a content and nothing else.

Summary

Fields
private String content
[Expand]
Inherited Fields
From class com.google.gdata.data.AbstractExtension
Protected Constructors
AbstractFreeTextExtension()
Creates an empty tag.
AbstractFreeTextExtension(String content)
Creates a tag and initializes its content.
Public Methods
String getContent()
Gets the content string.
void setContent(String content)
Sets the content string.
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 String content

Protected Constructors

protected AbstractFreeTextExtension ()

Creates an empty tag.

protected AbstractFreeTextExtension (String content)

Creates a tag and initializes its content.

Parameters
content

Public Methods

public String getContent ()

Gets the content string.

public void setContent (String content)

Sets the content string.

Parameters
content

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