public class

EventFeed

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.EventFeed

Class Overview

Describes an event feed.

Summary

Constants
String KIND Event kind term value.
Fields
public static final Category CATEGORY Event kind category.
public static final ElementKey<Void, EventFeed> 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
EventFeed()
Constructs an instance using the default key.
EventFeed(Feed sourceFeed)
Constructs a new instance by doing a shallow copy of data from an existing Feed instance.
Protected Constructors
EventFeed(ElementKey<?, ? extends EventFeed> key)
Subclass constructor, allows subclasses to supply their own element key.
EventFeed(ElementKey<?, ? extends EventFeed> key, Feed source)
Constructs a new instance by doing a shallow copy of data from an existing Feed instance.
Public Methods
List<? extends EventEntry> getEntries()
Returns the list of entries in this feed
EventFeed 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

Event kind term value.

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

Fields

public static final Category CATEGORY

Event kind category.

public static final ElementKey<Void, EventFeed> KEY

The key for this element.

Public Constructors

public EventFeed ()

Constructs an instance using the default key.

public EventFeed (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 EventFeed (ElementKey<?, ? extends EventFeed> key)

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

Parameters
key

protected EventFeed (ElementKey<?, ? extends EventFeed> 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 EventEntry> getEntries ()

Returns the list of entries in this feed

public EventFeed 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