|
GData JavaScript Client 2.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--google.gdata.atom.Link
Describes an external link type.
Defined in gdata.js
Field Summary | |
{string|undefined} |
href
Link URI. |
{string|undefined} |
hreflang
Language of resource pointed to by href. |
{string|undefined} |
length
Length of the resource pointed to by href in bytes. |
{string|undefined} |
rel
Link relation type. |
{string|undefined} |
title
Link title. |
{string|undefined} |
type
MIME type of link target. |
<static> <final> {string} |
REL_ALTERNATE
Link that provides the URI of an alternate format of the entry's or feed's contents. |
<static> <final> {string} |
REL_ENCLOSURE
Link that identifies a resource related to the entry. |
<static> <final> {string} |
REL_ENTRY_EDIT
Link that provides the URI that can be used to edit the entry. |
<static> <final> {string} |
REL_MEDIA_EDIT
Link that provides the URI that can be used to edit the media associated with an entry. |
<static> <final> {string} |
REL_NEXT
Link that provides the URI of next page in a paged feed. |
<static> <final> {string} |
REL_PREVIOUS
Link that provides the URI of previous page in a paged feed. |
<static> <final> {string} |
REL_RELATED
Link that provides the URI of a related link to the entry. |
<static> <final> {string} |
REL_SELF
Link that provides the URI of the feed or entry. |
<static> <final> {string} |
REL_VIA
Link that provides the URI that of link that provides the data for the content in the feed. |
<static> <final> {string} |
TYPE_ATOM
Link type used for Atom content. |
<static> <final> {string} |
TYPE_HTML
Link type used for HTML content. |
Constructor Summary | |
google.gdata.atom.Link(<Object> opt_params)
Constructs an external link using an object parameter whose property names match the setter method to use for each property. |
Method Summary | |
string|undefined
|
getHref()
Returns the link URI. |
string|undefined
|
getHrefLang()
Returns the language of resource pointed to by href. |
number|undefined
|
getLength()
Returns the length of the resource pointed to by href in bytes. |
string|undefined
|
getRel()
Returns the link relation type. |
string|undefined
|
getTitle()
Returns the link title. |
string|undefined
|
getTitleLang()
Returns the language of link title. |
string|undefined
|
getType()
Returns the MIME type of link target. |
void
|
setHref(<string|undefined> href)
Sets the link URI. |
void
|
setHrefLang(<string|undefined> hrefLang)
Sets the language of resource pointed to by href. |
void
|
setLength(<number|undefined> length)
Sets the length of the resource pointed to by href in bytes. |
void
|
setRel(<string|undefined> rel)
Sets the link relation type. |
void
|
setTitle(<string|undefined> title)
Sets the link title. |
void
|
setTitleLang(<string|undefined> titleLang)
Sets the language of link title. |
void
|
setType(<string|undefined> type)
Sets the MIME type of link target. |
Field Detail |
{string|undefined} href
{string|undefined} hreflang
{string|undefined} length
{string|undefined} rel
{string|undefined} title
{string|undefined} type
<static> <final> {string} REL_ALTERNATE
<static> <final> {string} REL_ENCLOSURE
<static> <final> {string} REL_ENTRY_EDIT
<static> <final> {string} REL_MEDIA_EDIT
<static> <final> {string} REL_NEXT
<static> <final> {string} REL_PREVIOUS
<static> <final> {string} REL_RELATED
<static> <final> {string} REL_SELF
<static> <final> {string} REL_VIA
<static> <final> {string} TYPE_ATOM
<static> <final> {string} TYPE_HTML
Constructor Detail |
google.gdata.atom.Link(<Object> opt_params)
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.
Method Detail |
string|undefined getHref()
string|undefined getHrefLang()
number|undefined getLength()
string|undefined getRel()
string|undefined getTitle()
string|undefined getTitleLang()
string|undefined getType()
void setHref(<string|undefined> href)
href
- Link URI or undefined for none.
void setHrefLang(<string|undefined> hrefLang)
hrefLang
- Language of resource pointed to by href or undefined for none.
void setLength(<number|undefined> length)
length
- Length of the resource pointed to by href in bytes or undefined for none.
void setRel(<string|undefined> rel)
rel
- Link relation type or undefined for none.
void setTitle(<string|undefined> title)
title
- Link title or undefined for none.
void setTitleLang(<string|undefined> titleLang)
titleLang
- Language of link title or undefined for none.
void setType(<string|undefined> type)
type
- MIME type of link target or undefined for none.
|
GData JavaScript Client 2.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |