public class Source extends Object
Constructor and Description |
---|
Source()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
List<Person> |
getAuthors()
Returns the authors of the entry.
|
List<Category> |
getCategories()
Returns the categories associated with the entry.
|
List<Person> |
getContributors()
Returns the contributors to the entry.
|
Generator |
getGenerator()
Returns the agent used to generate a feed.
|
Reference |
getIcon()
Returns the image that provides iconic visual identification for a feed.
|
String |
getId()
Returns the permanent, universally unique identifier for the entry.
|
List<Link> |
getLinks()
Returns the references from the entry to Web resources.
|
Reference |
getLogo()
Returns the image that provides visual identification for a feed.
|
Text |
getRights()
Returns the information about rights held in and over an entry.
|
Text |
getSubtitle()
Returns the short summary, abstract, or excerpt of an entry.
|
Text |
getTitle()
Returns the human-readable title for the entry.
|
Date |
getUpdated()
Returns the most recent moment when the entry was modified in a
significant way.
|
void |
setGenerator(Generator generator)
Sets the agent used to generate a feed.
|
void |
setIcon(Reference icon)
Sets the image that provides iconic visual identification for a feed.
|
void |
setId(String id)
Sets the permanent, universally unique identifier for the entry.
|
void |
setLogo(Reference logo)
Sets the image that provides visual identification for a feed.
|
void |
setRights(Text rights)
Sets the information about rights held in and over an entry.
|
void |
setSubtitle(Text subtitle)
Sets the short summary, abstract, or excerpt of an entry.
|
void |
setTitle(Text title)
Sets the human-readable title for the entry.
|
void |
setUpdated(Date updated)
Sets the most recent moment when the entry was modified in a significant
way.
|
void |
writeElement(XmlWriter writer)
Writes the current object as an XML element using the given SAX writer.
|
public List<Person> getAuthors()
public List<Category> getCategories()
public List<Person> getContributors()
public Generator getGenerator()
public Reference getIcon()
public String getId()
public List<Link> getLinks()
public Reference getLogo()
public Text getRights()
public Text getSubtitle()
public Text getTitle()
public Date getUpdated()
public void setGenerator(Generator generator)
generator
- The agent used to generate a feed.public void setIcon(Reference icon)
icon
- The image that provides iconic visual identification for a
feed.public void setId(String id)
id
- The permanent, universally unique identifier for the entry.public void setLogo(Reference logo)
logo
- The image that provides visual identification for a feed.public void setRights(Text rights)
rights
- The information about rights held in and over an entry.public void setSubtitle(Text subtitle)
subtitle
- The short summary, abstract, or excerpt of an entry.public void setTitle(Text title)
title
- The human-readable title for the entry.public void setUpdated(Date updated)
updated
- The most recent moment when the entry was modified in a
significant way.public void writeElement(XmlWriter writer) throws SAXException
writer
- The SAX writer.SAXException
Copyright © 2005–2013. All rights reserved.