|
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
public class Source
This element is designed to allow the aggregation of entries from different feeds while retaining information about an entry's source feed. For this reason, Atom processors that are performing such aggregation should include at least the required feed-level metadata elements (id, title, and updated) in the source element.
Constructor Summary | |
---|---|
Source()
|
Method Summary | |
---|---|
void |
addAuthor(Person author)
Adds a feed's author. |
void |
addCategory(Category category)
Adds a category to this feed. |
void |
addContributor(Person contributor)
Adds a person or other entity who contributed to the feed. |
void |
addLink(Link link)
Adds a reference from this feed to a Web resource. |
List<Person> |
getAuthors()
Returns the list of feed's authors. |
List<Category> |
getCategories()
Returns the list of categories associated with the feed. |
List<Person> |
getContributors()
Returns the list of persons or other entities who contributed to the feed. |
Generator |
getGenerator()
Returns the identification of the agent used to generate the feed. |
URIContainer |
getIcon()
Returns the URI that identifies an image that provides iconic visual identification for this feed. |
URIContainer |
getId()
Returns a permanent, universally unique identifier for the feed. |
List<Link> |
getLinks()
Returns the list of references from this feed to a Web resource. |
URIContainer |
getLogo()
Returns an URI reference that identifies an image that provides visual identification for this feed. |
TextContainer |
getRights()
Returns information about rights held in and over this feed. |
TextContainer |
getSubtitle()
Returns a human-readable description or subtitle for this feed. |
TextContainer |
getTitle()
Returns a human-readable title for this feed. |
Date |
getUpdated()
Returns the most recent instant in time when this feed was modified in a way the publisher considers significant. |
void |
setGenerator(Generator generator)
Initializes the identification of the agent used to generate the feed. |
void |
setIcon(URIContainer icon)
Initializes the URI that identifies an image that provides iconic visual identification for this feed. |
void |
setId(URIContainer id)
Initializes the permanent, universally unique identifier for the feed. |
void |
setLogo(URIContainer logo)
Initializes the URI reference that identifies an image that provides visual identification for this feed. |
void |
setRights(TextContainer rights)
Initializes information about rights held in and over this feed. |
void |
setSubtitle(TextContainer subtitle)
Initializes a human-readable description or subtitle for this 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.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 Source()
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<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 Generator getGenerator()
null
.setGenerator(christophedelory.atom.Generator)
public void setGenerator(Generator generator)
generator
- an agent identification. May be null
.getGenerator()
public URIContainer getIcon()
null
.setIcon(christophedelory.atom.URIContainer)
public void setIcon(URIContainer icon)
icon
- an URI container. May be null
.getIcon()
public URIContainer getId()
null
.setId(christophedelory.atom.URIContainer)
public void setId(URIContainer id)
id
- an URI container. May be 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 URIContainer getLogo()
null
.setLogo(christophedelory.atom.URIContainer)
public void setLogo(URIContainer logo)
logo
- an URI container. May be null
.getLogo()
public TextContainer getRights()
null
.setRights(christophedelory.atom.TextContainer)
public void setRights(TextContainer rights)
rights
- a text container. May be null
.getRights()
public TextContainer getSubtitle()
null
.setSubtitle(christophedelory.atom.TextContainer)
public void setSubtitle(TextContainer subtitle)
subtitle
- a text container. May be null
.getSubtitle()
public TextContainer getTitle()
null
.setTitle(christophedelory.atom.TextContainer)
public void setTitle(TextContainer title)
title
- a text container. May be null
.getTitle()
public Date getUpdated()
null
.setUpdated(java.util.Date)
public void setUpdated(Date updated)
updated
- a date. May be null
.getUpdated()
|
© 2008-2009 Christophe Delory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |