public class

MessageFeed

extends Feed
java.lang.Object
   ↳ com.google.gdata.model.Element
     ↳ com.google.gdata.model.atom.Source
       ↳ com.google.gdata.model.atom.Feed
         ↳ com.google.gdata.model.gd.MessageFeed

Class Overview

Describes a message feed.

Summary

Constants
String KIND Message kind term value.
Fields
public static final Category CATEGORY Message kind category.
public static final ElementKey<Void, MessageFeed> KEY The key for this element.
[Expand]
Inherited Fields
From class com.google.gdata.model.atom.Feed
From class com.google.gdata.model.atom.Source
From class com.google.gdata.model.Element
Public Constructors
MessageFeed()
Constructs an instance using the default key.
MessageFeed(Feed sourceFeed)
Constructs a new instance by doing a shallow copy of data from an existing Feed instance.
Protected Constructors
MessageFeed(ElementKey<?, ? extends MessageFeed> key)
Subclass constructor, allows subclasses to supply their own element key.
MessageFeed(ElementKey<?, ? extends MessageFeed> key, Feed source)
Constructs a new instance by doing a shallow copy of data from an existing Feed instance.
Public Methods
List<? extends MessageEntry> getEntries()
Returns the list of entries in this feed
MessageFeed lock()
Locks this element.
static void registerMetadata(MetadataRegistry registry)
Registers the metadata for this element.
[Expand]
Inherited Methods
From class com.google.gdata.model.atom.Feed
From class com.google.gdata.model.atom.Source
From class com.google.gdata.model.Element
From class java.lang.Object
From interface com.google.gdata.data.IAtom
From interface com.google.gdata.data.IFeed

Constants

public static final String KIND

Message kind term value.

Constant Value: "http://schemas.google.com/g/2005#message"

Fields

public static final Category CATEGORY

Message kind category.

public static final ElementKey<Void, MessageFeed> KEY

The key for this element.

Public Constructors

public MessageFeed ()

Constructs an instance using the default key.

public MessageFeed (Feed sourceFeed)

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

Parameters
sourceFeed Source feed

Protected Constructors

protected MessageFeed (ElementKey<?, ? extends MessageFeed> key)

Subclass constructor, allows subclasses to supply their own element key.

Parameters
key

protected MessageFeed (ElementKey<?, ? extends MessageFeed> key, Feed source)

Constructs a new instance by doing a shallow copy of data from an existing Feed instance. Will use the given ElementKey as the key for the element. This constructor is used when adapting from one element key to another. You cannot call this constructor directly, instead use createElement(ElementKey, Element).

Parameters
key The key to use for this element.
source Source element

Public Methods

public List<? extends MessageEntry> getEntries ()

Returns the list of entries in this feed

public MessageFeed lock ()

Locks this element. A locked element cannot have any changes made to its content or its attributes or child elements. This will also lock all attributes and child elements as well. Once this method has been called, this element can be safely published to other threads.

public static void registerMetadata (MetadataRegistry registry)

Registers the metadata for this element.

Parameters
registry