public class

SiteFeed

extends BaseFeed<F extends BaseFeed, E extends BaseEntry>
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.ExtensionPoint
       ↳ com.google.gdata.data.Source
         ↳ com.google.gdata.data.BaseFeed<F extends com.google.gdata.data.BaseFeed, E extends com.google.gdata.data.BaseEntry>
           ↳ com.google.gdata.data.sites.SiteFeed

Class Overview

Describes a site feed.

Summary

[Expand]
Inherited Fields
From class com.google.gdata.data.BaseFeed
From class com.google.gdata.data.Source
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
Public Constructors
SiteFeed()
Default mutable constructor.
SiteFeed(BaseFeed<?, ?> sourceFeed)
Constructs a new instance by doing a shallow copy of data from an existing BaseFeed instance.
Public Methods
void declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile.

The implementation of this method for BaseFeed will declare any extensions associated with the contained entry type.

Link getEditLink()
Returns the link that provides the URI that can be used to edit the entry.
FeedLink getFeedLink()
Returns the sites ACL feed link.
boolean hasFeedLink()
Returns whether it has the sites ACL feed link.
void setFeedLink(FeedLink feedLink)
Sets the sites ACL feed link.
String toString()
Protected Methods
void validate()
Checks the attributes to see if there are any problems.
[Expand]
Inherited Methods
From class com.google.gdata.data.BaseFeed
From class com.google.gdata.data.Source
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
From interface com.google.gdata.data.IAtom
From interface com.google.gdata.data.IFeed
From interface com.google.gdata.data.Kind.Adaptable
From interface com.google.gdata.data.Kind.Adaptor

Public Constructors

public SiteFeed ()

Default mutable constructor.

public SiteFeed (BaseFeed<?, ?> sourceFeed)

Constructs a new instance by doing a shallow copy of data from an existing BaseFeed instance.

Parameters
sourceFeed Source feed

Public Methods

public void declareExtensions (ExtensionProfile extProfile)

Declares the set of expected Extension types for an ExtensionPoint within the target extension profile. The base implementation does not declare any extensions, but can be overridden by specific types of ExtensionPoints that always contain a well-defined set of extensions.

The implementation of this method for BaseFeed will declare any extensions associated with the contained entry type.

Parameters
extProfile The ExtensionProfile to initialize.

public Link getEditLink ()

Returns the link that provides the URI that can be used to edit the entry.

Returns
  • Link that provides the URI that can be used to edit the entry or null for none.

public FeedLink getFeedLink ()

Returns the sites ACL feed link.

Returns
  • sites ACL feed link

public boolean hasFeedLink ()

Returns whether it has the sites ACL feed link.

Returns
  • whether it has the sites ACL feed link

public void setFeedLink (FeedLink feedLink)

Sets the sites ACL feed link.

Parameters
feedLink Sites ACL feed link or null to reset

public String toString ()

Protected Methods

protected void validate ()

Checks the attributes to see if there are any problems. Default implementation does nothing, though generally this is discouraged unless there really are no restrictions.