GData JavaScript Client 2.0

Class google.gdata.atom.Link

Object
   |
   +--google.gdata.atom.Link
Direct Known Subclasses:
google.gdata.Link, google.gdata.threading.ThreadingLink

class 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

href

{string|undefined} href

hreflang

{string|undefined} hreflang

length

{string|undefined} length

rel

{string|undefined} rel

title

{string|undefined} title

type

{string|undefined} type

REL_ALTERNATE

<static> <final> {string} REL_ALTERNATE

REL_ENCLOSURE

<static> <final> {string} REL_ENCLOSURE

REL_ENTRY_EDIT

<static> <final> {string} REL_ENTRY_EDIT

REL_MEDIA_EDIT

<static> <final> {string} REL_MEDIA_EDIT

REL_NEXT

<static> <final> {string} REL_NEXT

REL_PREVIOUS

<static> <final> {string} REL_PREVIOUS

REL_RELATED

<static> <final> {string} REL_RELATED

REL_SELF

<static> <final> {string} REL_SELF

REL_VIA

<static> <final> {string} REL_VIA

TYPE_ATOM

<static> <final> {string} TYPE_ATOM

TYPE_HTML

<static> <final> {string} TYPE_HTML

Constructor Detail

google.gdata.atom.Link

google.gdata.atom.Link(<Object> opt_params)

Method Detail

getHref

string|undefined getHref()

getHrefLang

string|undefined getHrefLang()

getLength

number|undefined getLength()

getRel

string|undefined getRel()

getTitle

string|undefined getTitle()

getTitleLang

string|undefined getTitleLang()

getType

string|undefined getType()

setHref

void setHref(<string|undefined> href)

setHrefLang

void setHrefLang(<string|undefined> hrefLang)

setLength

void setLength(<number|undefined> length)

setRel

void setRel(<string|undefined> rel)

setTitle

void setTitle(<string|undefined> title)

setTitleLang

void setTitleLang(<string|undefined> titleLang)

setType

void setType(<string|undefined> type)

GData JavaScript Client 2.0

Documentation generated by JSDoc on Tue Sep 22 18:28:55 2009