public class

Comments

extends ExtensionPoint
implements Extension
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.ExtensionPoint
       ↳ com.google.gdata.data.extensions.Comments

Class Overview

GData schema extension describing a comments feed.

Summary

Fields
protected FeedLink<?> feedLink Comments feed link.
[Expand]
Inherited Fields
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
Public Constructors
Comments()
Public Methods
void generate(XmlWriter w, ExtensionProfile extProfile)
Generates an XML representation for the extension.
static ExtensionDescription getDefaultDescription()
Returns the suggested extension description.
FeedLink<?> getFeedLink()
XmlParser.ElementHandler getHandler(ExtensionProfile extProfile, String namespace, String localName, Attributes attrs)
The default implementation uses the AbstractExtension.AttributesHandler to handle parsing the extension.
void setFeedLink(FeedLink<?> v)
Protected Methods
void visitChildren(ExtensionVisitor ev)
Called to visit all children of this extension point.
[Expand]
Inherited Methods
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
From class java.lang.Object
From interface com.google.gdata.data.Extension

Fields

protected FeedLink<?> feedLink

Comments feed link.

Public Constructors

public Comments ()

Public Methods

public void generate (XmlWriter w, ExtensionProfile extProfile)

Generates an XML representation for the extension.

Parameters
w XML writer
extProfile Extension profile
Throws
IOException

public static ExtensionDescription getDefaultDescription ()

Returns the suggested extension description.

public FeedLink<?> getFeedLink ()

public XmlParser.ElementHandler getHandler (ExtensionProfile extProfile, String namespace, String localName, Attributes attrs)

The default implementation uses the AbstractExtension.AttributesHandler to handle parsing the extension.

Parameters
extProfile Extension profile
namespace Extension namespace
localName Tag name, without the namespace prefix
attrs Tag attributes
Returns
  • an element handler

public void setFeedLink (FeedLink<?> v)

Parameters
v

Protected Methods

protected void visitChildren (ExtensionVisitor ev)

Called to visit all children of this extension point.

Parameters
ev The extension visitor.