Class google.gdata.Link
Object
|
+--google.gdata.atom.Link
|
+--google.gdata.Link
-
Direct Known Subclasses:
-
google.gdata.blogger.BloggerLink, google.gdata.contacts.ContactLink, google.gdata.acl.Link
- class
google.gdata.Link
- extends google.gdata.atom.Link
Extends the base Link class with GData extensions.
Defined in gdata.js
Field Summary |
<static> <final> String |
REL_ENTRY_POST
Link that provides the URI that can be used to post new entries to the feed. |
<static> <final> String |
REL_FEED
Link that provides the URI of the full feed (without any query parameters). |
<static> <final> String |
REL_FEED_BATCH
Link that provides the URI that can be used to batch operations to query,
insert, update and delete entries on this feed. |
Constructor Summary |
google.gdata.Link(<Object> opt_params)
Constructs a GData Link class using an object parameter whose property names
match the setter method to use for each property.
|
Method Summary |
<static> google.gdata.Link
|
create(<String> rel, <String> type, <String> href, <String> opt_title)
Create a new link using the typical parameters.
|
Methods inherited from class google.gdata.atom.Link |
getHref, setHref, getHrefLang, setHrefLang, getLength, setLength, getRel, setRel, getTitle, setTitle, getTitleLang, setTitleLang, getType, setType
|
REL_ENTRY_POST
<static> <final> String REL_ENTRY_POST
Link that 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.
REL_FEED
<static> <final> String REL_FEED
Link that provides the URI of the full feed (without any query parameters).
REL_FEED_BATCH
<static> <final> String REL_FEED_BATCH
Link that provides the URI that can be used to batch operations to query,
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.
google.gdata.Link
google.gdata.Link(<Object> opt_params)
Constructs a GData Link class using an object parameter whose property names
match the setter method to use for each property.
Parameters:
opt_params
- Optional parameters, each of which is used as the sole parameter to the associated setter method: href, hrefLang, length, rel, title, titleLang, and type
create
<static> google.gdata.Link create(<String> rel, <String> type, <String> href, <String> opt_title)
Create a new link using the typical parameters.
Parameters:
type
- MIME type of the link target
opt_title
- Optional link title
Documentation generated by
JSDoc on Thu Oct 2 17:38:03 2008