Package org.restlet.ext.atom
Class Source
- java.lang.Object
- 
- org.restlet.ext.atom.Source
 
- 
 public class Source extends java.lang.ObjectSource feed's metadata for entries copied from another feed.- Author:
- Jerome Louvel
 
- 
- 
Constructor SummaryConstructors Constructor Description Source()Constructor.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Person>getAuthors()Returns the authors of the entry.java.util.List<Category>getCategories()Returns the categories associated with the entry.java.util.List<Person>getContributors()Returns the contributors to the entry.GeneratorgetGenerator()Returns the agent used to generate a feed.org.restlet.data.ReferencegetIcon()Returns the image that provides iconic visual identification for a feed.java.lang.StringgetId()Returns the permanent, universally unique identifier for the entry.java.util.List<Link>getLinks()Returns the references from the entry to Web resources.org.restlet.data.ReferencegetLogo()Returns the image that provides visual identification for a feed.TextgetRights()Returns the information about rights held in and over an entry.TextgetSubtitle()Returns the short summary, abstract, or excerpt of an entry.TextgetTitle()Returns the human-readable title for the entry.java.util.DategetUpdated()Returns the most recent moment when the entry was modified in a significant way.voidsetGenerator(Generator generator)Sets the agent used to generate a feed.voidsetIcon(org.restlet.data.Reference icon)Sets the image that provides iconic visual identification for a feed.voidsetId(java.lang.String id)Sets the permanent, universally unique identifier for the entry.voidsetLogo(org.restlet.data.Reference logo)Sets the image that provides visual identification for a feed.voidsetRights(Text rights)Sets the information about rights held in and over an entry.voidsetSubtitle(Text subtitle)Sets the short summary, abstract, or excerpt of an entry.voidsetTitle(Text title)Sets the human-readable title for the entry.voidsetUpdated(java.util.Date updated)Sets the most recent moment when the entry was modified in a significant way.voidwriteElement(XmlWriter writer)Writes the current object as an XML element using the given SAX writer.
 
- 
- 
- 
Method Detail- 
getAuthorspublic java.util.List<Person> getAuthors() Returns the authors of the entry.- Returns:
- The authors of the entry.
 
 - 
getCategoriespublic java.util.List<Category> getCategories() Returns the categories associated with the entry.- Returns:
- The categories associated with the entry.
 
 - 
getContributorspublic java.util.List<Person> getContributors() Returns the contributors to the entry.- Returns:
- The contributors to the entry.
 
 - 
getGeneratorpublic Generator getGenerator() Returns the agent used to generate a feed.- Returns:
- The agent used to generate a feed.
 
 - 
getIconpublic org.restlet.data.Reference getIcon() Returns the image that provides iconic visual identification for a feed.- Returns:
- The image that provides iconic visual identification for a feed.
 
 - 
getIdpublic java.lang.String getId() Returns the permanent, universally unique identifier for the entry.- Returns:
- The permanent, universally unique identifier for the entry.
 
 - 
getLinkspublic java.util.List<Link> getLinks() Returns the references from the entry to Web resources.- Returns:
- The references from the entry to Web resources.
 
 - 
getLogopublic org.restlet.data.Reference getLogo() Returns the image that provides visual identification for a feed.- Returns:
- The image that provides visual identification for a feed.
 
 - 
getRightspublic Text getRights() Returns the information about rights held in and over an entry.- Returns:
- The information about rights held in and over an entry.
 
 - 
getSubtitlepublic Text getSubtitle() Returns the short summary, abstract, or excerpt of an entry.- Returns:
- The short summary, abstract, or excerpt of an entry.
 
 - 
getTitlepublic Text getTitle() Returns the human-readable title for the entry.- Returns:
- The human-readable title for the entry.
 
 - 
getUpdatedpublic java.util.Date getUpdated() Returns the most recent moment when the entry was modified in a significant way.- Returns:
- The most recent moment when the entry was modified in a significant way.
 
 - 
setGeneratorpublic void setGenerator(Generator generator) Sets the agent used to generate a feed.- Parameters:
- generator- The agent used to generate a feed.
 
 - 
setIconpublic void setIcon(org.restlet.data.Reference icon) Sets the image that provides iconic visual identification for a feed.- Parameters:
- icon- The image that provides iconic visual identification for a feed.
 
 - 
setIdpublic void setId(java.lang.String id) Sets the permanent, universally unique identifier for the entry.- Parameters:
- id- The permanent, universally unique identifier for the entry.
 
 - 
setLogopublic void setLogo(org.restlet.data.Reference logo) Sets the image that provides visual identification for a feed.- Parameters:
- logo- The image that provides visual identification for a feed.
 
 - 
setRightspublic void setRights(Text rights) Sets the information about rights held in and over an entry.- Parameters:
- rights- The information about rights held in and over an entry.
 
 - 
setSubtitlepublic void setSubtitle(Text subtitle) Sets the short summary, abstract, or excerpt of an entry.- Parameters:
- subtitle- The short summary, abstract, or excerpt of an entry.
 
 - 
setTitlepublic void setTitle(Text title) Sets the human-readable title for the entry.- Parameters:
- title- The human-readable title for the entry.
 
 - 
setUpdatedpublic void setUpdated(java.util.Date updated) Sets the most recent moment when the entry was modified in a significant way.- Parameters:
- updated- The most recent moment when the entry was modified in a significant way.
 
 - 
writeElementpublic void writeElement(XmlWriter writer) throws org.xml.sax.SAXException Writes the current object as an XML element using the given SAX writer.- Parameters:
- writer- The SAX writer.
- Throws:
- org.xml.sax.SAXException
 
 
- 
 
-