|
GData JavaScript Client 1.10 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--google.gdata.atom.Entry
Describes the base class for a GData entry.
Defined in gdata.js
Field Summary | |
Object |
$authorsClass_
|
Object |
$categoriesClass_
|
Object |
$contentClass_
|
Object |
$contributorsClass_
|
Object |
$idClass_
|
Object |
$linksClass_
|
Object |
$publishedClass_
|
Object |
$rightsClass_
|
Object |
$summaryClass_
|
Object |
$titleClass_
|
Object |
$updatedClass_
|
{Array.<google.gdata.atom.Person>} |
author
Authors. |
{Array.<google.gdata.atom.Category>} |
category
Categories. |
{google.gdata.atom.Text|undefined} |
content
Content. |
{Array.<google.gdata.atom.Person>} |
contributor
Contributors. |
{google.gdata.atom.Id|undefined} |
id
Entry identifier. |
{Array.<google.gdata.atom.Link>} |
link
Links. |
{google.gdata.atom.Published|undefined} |
published
Creation timestamp. |
{google.gdata.atom.Text|undefined} |
rights
Rights. |
{google.gdata.atom.Text|undefined} |
summary
Summary. |
{google.gdata.atom.Text|undefined} |
title
Title. |
{google.gdata.atom.Updated|undefined} |
updated
Updated timestamp. |
<final> {string} |
xmlns
Atom (ATOM) namespace. |
Constructor Summary | |
google.gdata.atom.Entry(<Object> opt_params)
Constructs an entry using an object parameter whose property names match the setter method to use for each property. |
Method Summary | |
void
|
addAuthor(<google.gdata.atom.Person|Object> author)
Adds a new author. |
void
|
addCategory(<google.gdata.atom.Category|Object> category)
Adds a new category. |
void
|
addContributor(<google.gdata.atom.Person|Object> contributor)
Adds a new contributor. |
void
|
addLink(<google.gdata.atom.Link|Object> link)
Adds a new link. |
Array.<google.gdata.atom.Person>
|
getAuthors()
Returns the authors. |
Array.<google.gdata.atom.Category>
|
getCategories()
Returns the categories. |
Object
|
getCategoryClass()
|
google.gdata.atom.Text|undefined
|
getContent()
Returns the content. |
Array.<google.gdata.atom.Person>
|
getContributors()
Returns the contributors. |
google.gdata.atom.Id|undefined
|
getId()
Returns the entry identifier. |
Object
|
getLinkClass()
|
Array.<google.gdata.atom.Link>
|
getLinks()
Returns the links. |
google.gdata.atom.Published|undefined
|
getPublished()
Returns the creation timestamp. |
google.gdata.atom.Text|undefined
|
getRights()
Returns the rights. |
google.gdata.atom.Text|undefined
|
getSummary()
Returns the summary. |
google.gdata.atom.Text|undefined
|
getTitle()
Returns the title. |
google.gdata.atom.Updated|undefined
|
getUpdated()
Returns the updated timestamp. |
void
|
setAuthors(<Array.<google.gdata.atom.Person>|Array.<Object>|undefined> authors)
Sets the authors. |
void
|
setCategories(<Array.<google.gdata.atom.Category>|Array.<Object>|undefined> categories)
Sets the categories. |
void
|
setContent(<google.gdata.atom.Text|Object|undefined> content)
Sets the content. |
void
|
setContributors(<Array.<google.gdata.atom.Person>|Array.<Object>|undefined> contributors)
Sets the contributors. |
void
|
setId(<google.gdata.atom.Id|Object|undefined> id)
Sets the entry identifier. |
void
|
setLinks(<Array.<google.gdata.atom.Link>|Array.<Object>|undefined> links)
Sets the links. |
void
|
setPublished(<google.gdata.atom.Published|Object|undefined> published)
Sets the creation timestamp. |
void
|
setRights(<google.gdata.atom.Text|Object|undefined> rights)
Sets the rights. |
void
|
setSummary(<google.gdata.atom.Text|Object|undefined> summary)
Sets the summary. |
void
|
setTitle(<google.gdata.atom.Text|Object|undefined> title)
Sets the title. |
void
|
setUpdated(<google.gdata.atom.Updated|Object|undefined> updated)
Sets the updated timestamp. |
Field Detail |
Object $authorsClass_
Object $categoriesClass_
Object $contentClass_
Object $contributorsClass_
Object $idClass_
Object $linksClass_
Object $publishedClass_
Object $rightsClass_
Object $summaryClass_
Object $titleClass_
Object $updatedClass_
{Array.<google.gdata.atom.Person>} author
{Array.<google.gdata.atom.Category>} category
{google.gdata.atom.Text|undefined} content
{Array.<google.gdata.atom.Person>} contributor
{google.gdata.atom.Id|undefined} id
{Array.<google.gdata.atom.Link>} link
{google.gdata.atom.Published|undefined} published
{google.gdata.atom.Text|undefined} rights
{google.gdata.atom.Text|undefined} summary
{google.gdata.atom.Text|undefined} title
{google.gdata.atom.Updated|undefined} updated
<final> {string} xmlns
Constructor Detail |
google.gdata.atom.Entry(<Object> opt_params)
opt_params
- Optional parameters, each of which is used as the sole parameter to the associated setter method: authors, categories, content, contributors, id, links, published, rights, summary, title, and updated.
Method Detail |
void addAuthor(<google.gdata.atom.Person|Object> author)
author
- Author to add, or object to use as a parameter to the google.gdata.atom.Person constructor.
void addCategory(<google.gdata.atom.Category|Object> category)
category
- Category to add, or object to use as a parameter to the google.gdata.atom.Category constructor.
void addContributor(<google.gdata.atom.Person|Object> contributor)
contributor
- Contributor to add, or object to use as a parameter to the google.gdata.atom.Person constructor.
void addLink(<google.gdata.atom.Link|Object> link)
link
- Link to add, or object to use as a parameter to the google.gdata.atom.Link constructor.
Array.<google.gdata.atom.Person> getAuthors()
Array.<google.gdata.atom.Category> getCategories()
Object getCategoryClass()
google.gdata.atom.Text|undefined getContent()
Array.<google.gdata.atom.Person> getContributors()
google.gdata.atom.Id|undefined getId()
Object getLinkClass()
Array.<google.gdata.atom.Link> getLinks()
google.gdata.atom.Published|undefined getPublished()
google.gdata.atom.Text|undefined getRights()
google.gdata.atom.Text|undefined getSummary()
google.gdata.atom.Text|undefined getTitle()
google.gdata.atom.Updated|undefined getUpdated()
void setAuthors(<Array.<google.gdata.atom.Person>|Array.<Object>|undefined> authors)
authors
- Authors, where each author is added using the addAuthor() function, or undefined to clear the authors.
void setCategories(<Array.<google.gdata.atom.Category>|Array.<Object>|undefined> categories)
categories
- Categories, where each category is added using the addCategory() function, or undefined to clear the categories.
void setContent(<google.gdata.atom.Text|Object|undefined> content)
content
- Content, or object to use as a parameter to the google.gdata.atom.Text constructor, or undefined for none.
void setContributors(<Array.<google.gdata.atom.Person>|Array.<Object>|undefined> contributors)
contributors
- Contributors, where each contributor is added using the addContributor() function, or undefined to clear the contributors.
void setId(<google.gdata.atom.Id|Object|undefined> id)
id
- Entry identifier, or object to use as a parameter to the google.gdata.atom.Id constructor, or undefined for none.
void setLinks(<Array.<google.gdata.atom.Link>|Array.<Object>|undefined> links)
links
- Links, where each link is added using the addLink() function, or undefined to clear the links.
void setPublished(<google.gdata.atom.Published|Object|undefined> published)
published
- Creation timestamp, or object to use as a parameter to the google.gdata.atom.Published constructor, or undefined for none.
void setRights(<google.gdata.atom.Text|Object|undefined> rights)
rights
- Rights, or object to use as a parameter to the google.gdata.atom.Text constructor, or undefined for none.
void setSummary(<google.gdata.atom.Text|Object|undefined> summary)
summary
- Summary, or object to use as a parameter to the google.gdata.atom.Text constructor, or undefined for none.
void setTitle(<google.gdata.atom.Text|Object|undefined> title)
title
- Title, or object to use as a parameter to the google.gdata.atom.Text constructor, or undefined for none.
void setUpdated(<google.gdata.atom.Updated|Object|undefined> updated)
updated
- Updated timestamp, or object to use as a parameter to the google.gdata.atom.Updated constructor, or undefined for none.
|
GData JavaScript Client 1.10 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |