|
Lizzy v1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object christophedelory.atom.Common christophedelory.atom.Entry
public class Entry
Represents an individual entry, acting as a container for metadata and data associated with the entry. This element can appear as a child of the feed element, or it can appear as the document (i.e., top-level) element of a stand-alone Atom Entry Document. An Atom Entry Document represents exactly one Atom entry, outside of the context of an Atom feed.
Constructor Summary | |
---|---|
Entry()
|
Method Summary | |
---|---|
void |
addAuthor(Person author)
Adds an entry's author. |
void |
addCategory(Category category)
Adds a category to this entry. |
void |
addContent(Content content)
Adds a content to this entry. |
void |
addContributor(Person contributor)
Adds a person or other entity who contributed to the entry. |
void |
addLink(Link link)
Adds a reference from this entry to a Web resource. |
List<Person> |
getAuthors()
Returns the list of entry's authors. |
List<Category> |
getCategories()
Returns the list of categories associated with the entry. |
List<Content> |
getContents()
Returns a list of contents. |
List<Person> |
getContributors()
Returns the list of persons or other entities who contributed to the entry. |
URIContainer |
getId()
Returns a permanent, universally unique identifier for the entry. |
List<Link> |
getLinks()
Returns the list of references from this entry to a Web resource. |
Date |
getPublished()
Returns an instant in time associated with an event early in the life cycle of the entry. |
TextContainer |
getRights()
Returns information about rights held in and over this entry. |
Source |
getSource()
Returns the source feed. |
TextContainer |
getSummary()
Returns a short summary, abstract, or excerpt of an entry. |
TextContainer |
getTitle()
Returns a human-readable title for this entry. |
Date |
getUpdated()
Returns the most recent instant in time when this entry was modified in a way the publisher considers significant. |
void |
setId(URIContainer id)
Initializes the permanent, universally unique identifier for the entry. |
void |
setPublished(Date published)
Initializes the instant in time associated with an event early in the life cycle of the entry. |
void |
setRights(TextContainer rights)
Initializes information about rights held in and over this entry. |
void |
setSource(Source source)
Initializes the source feed. |
void |
setSummary(TextContainer summary)
Initializes a short summary, abstract, or excerpt of an entry. |
void |
setTitle(TextContainer title)
Initializes the human-readable title for this entry. |
void |
setUpdated(Date updated)
Initializes the most recent instant in time when this entry was modified in a way the publisher considers significant. |
Methods inherited from class christophedelory.atom.Common |
---|
getBaseString, getLang, setBaseString, setLang |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Entry()
Method Detail |
---|
public List<Person> getAuthors()
null
.addAuthor(christophedelory.atom.Person)
public void addAuthor(Person author)
author
- an author. Shall not be null
.
NullPointerException
- if author
is null
.getAuthors()
public List<Category> getCategories()
null
.addCategory(christophedelory.atom.Category)
public void addCategory(Category category)
category
- a category. Shall not be null
.
NullPointerException
- if category
is null
.getCategories()
public List<Content> getContents()
null
.addContent(christophedelory.atom.Content)
public void addContent(Content content)
content
- a content. Shall not be null
.
NullPointerException
- if content
is null
.getContents()
public List<Person> getContributors()
null
.addContributor(christophedelory.atom.Person)
public void addContributor(Person contributor)
contributor
- a contributor. Shall not be null
.
NullPointerException
- if contributor
is null
.getContributors()
public URIContainer getId()
null
.setId(christophedelory.atom.URIContainer)
public void setId(URIContainer id)
id
- an URI container. Shall not be null
.
NullPointerException
- if id
is null
.getId()
public List<Link> getLinks()
null
.addLink(christophedelory.atom.Link)
public void addLink(Link link)
link
- a link. Shall not be null
.
NullPointerException
- if link
is null
.getLinks()
public Date getPublished()
null
.setPublished(java.util.Date)
public void setPublished(Date published)
published
- a date. May be null
.getPublished()
public TextContainer getRights()
null
.setRights(christophedelory.atom.TextContainer)
public void setRights(TextContainer rights)
rights
- a text container. May be null
.getRights()
public Source getSource()
null
.setSource(christophedelory.atom.Source)
public void setSource(Source source)
source
- a feed source. May be null
.getSource()
public TextContainer getSummary()
null
.setSummary(christophedelory.atom.TextContainer)
public void setSummary(TextContainer summary)
summary
- a text container. May be null
.getSummary()
public TextContainer getTitle()
null
if not yet initialized.setTitle(christophedelory.atom.TextContainer)
public void setTitle(TextContainer title)
title
- a text container. Shall not be null
.
NullPointerException
- if title
is null
.getTitle()
public Date getUpdated()
null
if not yet initialized.setUpdated(java.util.Date)
public void setUpdated(Date updated)
updated
- a date. Shall not be null
.
NullPointerException
- if updated
is null
.getUpdated()
|
© 2008-2009 Christophe Delory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |