public static final class

ILink.Rel

extends Object
java.lang.Object
   ↳ com.google.gdata.data.ILink.Rel

Class Overview

The Rel class defines constants for some common link relation types.

Summary

Constants
String ALTERNATE Link provides the URI of an alternate format of the entry's or feed's contents.
String ENCLOSURE Relation for links to enclosure (podcasting) files.
String ENTRY_EDIT Link provides the URI that can be used to edit the entry.
String ENTRY_POST Link provides the URI that can be used to post new entries to the feed.
String FEED Link provides the URI of the full feed (without any query parameters).
String FEED_BATCH Link provides the URI that can be used to insert, update and delete entries on this feed.
String HUB Relation for links that provide the URI of a hub that enables registration for real-time updates to the resource.
String MEDIA_EDIT Link provides the URI that can be used to edit the media associated with an entry.
String MEDIA_EDIT_BACKCOMPAT This constant is deprecated. use MEDIA_EDIT instead.
String NEXT Link provides the URI of next page in a paged feed.
String PREVIOUS Link provides the URI of previous page in a paged feed.
String RELATED Link provides the URI of a related link to the entry
String RESUMABLE_CREATE_MEDIA Link provides the URI that can be used to add a media entry to the feed.
String RESUMABLE_EDIT_MEDIA Link provides the URI that can be used to edit the media associated with an entry in a resumable fashion.
String SELF Link provides the URI of the feed or entry.
String VIA Link provides the URI that of link that provides the data for the content in the feed.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String ALTERNATE

Link provides the URI of an alternate format of the entry's or feed's contents. The type property of the link specifies a media type.

Constant Value: "alternate"

public static final String ENCLOSURE

Relation for links to enclosure (podcasting) files.

Constant Value: "enclosure"

public static final String ENTRY_EDIT

Link provides the URI that can be used to edit the entry. This relation does not exist if the entry is read-only.

Constant Value: "edit"

public static final String ENTRY_POST

Link provides the URI that can be used to post new entries to the feed. This relation does not exist if the feed is read-only.

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

public static final String FEED

Link provides the URI of the full feed (without any query parameters).

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

public static final String FEED_BATCH

Link provides the URI that can be used to insert, update and delete entries on this feed. This relation does not exist if the feed is read-only or if batching not enabled on this feed.

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

public static final String HUB

Relation for links that provide the URI of a hub that enables registration for real-time updates to the resource.

Constant Value: "hub"

public static final String MEDIA_EDIT

Link provides the URI that can be used to edit the media associated with an entry. This relation does not exist if there is no associated media or the media is read-only.

Constant Value: "edit-media"

public static final String MEDIA_EDIT_BACKCOMPAT

This constant is deprecated.
use MEDIA_EDIT instead.

Previous media edit link relation value that will temporarily be supported to enable back compatibility for Picasa Web. This rel will be deleted after all usage has been migrated to use MEDIA_EDIT.

Constant Value: "media-edit"

public static final String NEXT

Link provides the URI of next page in a paged feed.

Constant Value: "next"

public static final String PREVIOUS

Link provides the URI of previous page in a paged feed.

Constant Value: "previous"

public static final String RELATED

Link provides the URI of a related link to the entry

Constant Value: "related"

public static final String RESUMABLE_CREATE_MEDIA

Link provides the URI that can be used to add a media entry to the feed. This relation does not exist if the feed is read-only, not a media feed or if resumable uploads are not supported.

Constant Value: "http://schemas.google.com/g/2005#resumable-create-media"

public static final String RESUMABLE_EDIT_MEDIA

Link provides the URI that can be used to edit the media associated with an entry in a resumable fashion. This relation does not exist if there is no associated media, the media is read-only or resumable uploads are not supported.

Constant Value: "http://schemas.google.com/g/2005#resumable-edit-media"

public static final String SELF

Link provides the URI of the feed or entry. If this relation appears on a feed that is the result of performing a query, then this URI includes the same query parameters (or at least querying this URI produces the same result as querying with those parameters).

Constant Value: "self"

public static final String VIA

Link provides the URI that of link that provides the data for the content in the feed.

Constant Value: "via"