@Bean(typeName="feed") public class Feed extends CommonEntry
Represents an
atomFeed = element atom:feed { atomCommonAttributes, (atomAuthor* & atomCategory* & atomContributor* & atomGenerator? & atomIcon? & atomId & atomLink* & atomLogo? & atomRights? & atomSubtitle? & atomTitle & atomUpdated & extensionElement*), atomEntry* }
| Constructor and Description |
|---|
Feed()
Bean constructor.
|
Feed(Id id,
Text title,
Calendar updated)
Normal constructor.
|
Feed(String id,
String title,
String updated)
Normal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Feed |
authors(Person... authors)
Sets the list of authors for this object.
|
Feed |
base(Object base)
Sets the URI base of this object.
|
Feed |
categories(Category... categories)
Sets the list of categories of this object.
|
Feed |
contributors(Person... contributors)
Sets the list of contributors of this object.
|
Feed |
entries(Entry... entries)
Sets the entries in the feed.
|
Feed |
generator(Generator generator)
Sets the generator information on this feed.
|
Entry[] |
getEntries()
Returns the entries in the feed.
|
Generator |
getGenerator()
Returns generator information on this feed.
|
Icon |
getIcon()
Returns the feed icon.
|
Logo |
getLogo()
Returns the feed logo.
|
Text |
getSubTitle()
Returns the feed subtitle.
|
Feed |
icon(Icon icon)
Sets the feed icon.
|
Feed |
id(Id id)
Sets the ID of this object.
|
Feed |
lang(String lang)
Sets the language of this object.
|
Feed |
links(Link... links)
Sets the list of links of this object.
|
Feed |
logo(Logo logo)
Sets the feed logo.
|
Feed |
rights(String rights)
Sets the rights statement of this object.
|
Feed |
rights(Text rights)
Sets the rights statement of this object.
|
Feed |
subtitle(String subtitle)
Sets the feed subtitle.
|
Feed |
subtitle(Text subtitle)
Sets the feed subtitle.
|
Feed |
title(String title)
Sets the title of this object.
|
Feed |
title(Text title)
Sets the title of this object.
|
Feed |
updated(Calendar updated)
Sets the update timestamp of this object.
|
Feed |
updated(String updated)
Sets the update timestamp of this object.
|
getAuthors, getCategories, getContributors, getId, getLinks, getRights, getTitle, getUpdated, idpublic Feed(Id id, Text title, Calendar updated)
id - The feed identifier.title - The feed title.updated - The feed updated timestamp.public Feed(String id, String title, String updated)
id - The feed identifier.title - The feed title.updated - The feed updated timestamp.public Feed()
public Generator getGenerator()
@Beanp(value="generator") public Feed generator(Generator generator)
generator - The generator information on this feed.@Beanp(value="icon") public Feed icon(Icon icon)
icon - The feed icon.@Beanp(value="logo") public Feed logo(Logo logo)
logo - The feed logo.@Beanp(value="subtitle") public Text getSubTitle()
@Beanp(value="subtitle") public Feed subtitle(Text subtitle)
subtitle - The feed subtitle.public Feed subtitle(String subtitle)
subtitle - The feed subtitle.@Xml(format=COLLAPSED) public Entry[] getEntries()
@Beanp(value="entries") public Feed entries(Entry... entries)
entries - The entries in the feed.public Feed authors(Person... authors)
CommonEntryauthors in class CommonEntryauthors - The list of authors for this object.public Feed categories(Category... categories)
CommonEntrycategories in class CommonEntrycategories - The list of categories of this object.public Feed contributors(Person... contributors)
CommonEntrycontributors in class CommonEntrycontributors - The list of contributors of this object.public Feed id(Id id)
CommonEntryid in class CommonEntryid - The ID of this object.public Feed links(Link... links)
CommonEntrylinks in class CommonEntrylinks - The list of links of this object.public Feed rights(Text rights)
CommonEntryrights in class CommonEntryrights - The rights statement of this object.public Feed rights(String rights)
CommonEntryrights in class CommonEntryrights - The rights statement of this object.public Feed title(Text title)
CommonEntrytitle in class CommonEntrytitle - The title of this object.public Feed title(String title)
CommonEntrytitle in class CommonEntrytitle - The title of this object.public Feed updated(Calendar updated)
CommonEntryupdated in class CommonEntryupdated - The update timestamp of this object.public Feed updated(String updated)
CommonEntryupdated in class CommonEntryupdated - The update timestamp of this object in ISO8601 format.public Feed base(Object base)
Common
The value can be of any of the following types: URI, URL, String.
Strings must be valid URIs.
URIs defined by UriResolver can be used for values.
Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.