|
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.Source christophedelory.atom.Feed
public class Feed
An Atom Feed Document is a representation of an Atom feed, including metadata about the feed, and some or all of the entries associated with it. This element is the document (i.e., top-level) element of an Atom Feed Document, acting as a container for metadata and data associated with the feed. Its element children consist of metadata elements followed by zero or more entry child elements.
Constructor Summary | |
---|---|
Feed()
|
Method Summary | |
---|---|
void |
addEntry(Entry entry)
Adds a feed's entry. |
List<Entry> |
getEntries()
Returns the list of feed's entries. |
void |
setId(URIContainer id)
Initializes the permanent, universally unique identifier for the feed. |
void |
setTitle(TextContainer title)
Initializes the human-readable title for this feed. |
void |
setUpdated(Date updated)
Initializes the most recent instant in time when this feed was modified in a way the publisher considers significant. |
Methods inherited from class christophedelory.atom.Source |
---|
addAuthor, addCategory, addContributor, addLink, getAuthors, getCategories, getContributors, getGenerator, getIcon, getId, getLinks, getLogo, getRights, getSubtitle, getTitle, getUpdated, setGenerator, setIcon, setLogo, setRights, setSubtitle |
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 Feed()
Method Detail |
---|
public void setId(URIContainer id)
Source
setId
in class Source
id
- an URI container. Shall not be null
.
NullPointerException
- if id
is null
.Source.getId()
public void setTitle(TextContainer title)
Source
setTitle
in class Source
title
- a text container. Shall not be null
.
NullPointerException
- if title
is null
.Source.getTitle()
public void setUpdated(Date updated)
Source
setUpdated
in class Source
updated
- a date. Shall not be null
.
NullPointerException
- if updated
is null
.Source.getUpdated()
public List<Entry> getEntries()
null
.addEntry(christophedelory.atom.Entry)
public void addEntry(Entry entry)
entry
- an entry. Shall not be null
.
NullPointerException
- if entry
is null
.getEntries()
|
© 2008-2009 Christophe Delory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |