GData JavaScript Client 1.3

Class google.gdata.atom.Link

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

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_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_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 1.3

Documentation generated by JSDoc on Mon Jun 30 17:22:45 2008