spring-framework / org.springframework.web.servlet.view.feed / AbstractAtomFeedView

AbstractAtomFeedView

abstract class AbstractAtomFeedView : AbstractFeedView<Feed>

Abstract superclass for Atom Feed views, using the ROME package.

>NOTE: As of Spring 4.1, this is based on the com.rometools variant of ROME, version 1.5. Please upgrade your build dependency.

Application-specific view classes will extend this class. The view will be held in the subclass itself, not in a template. Main entry points are the #buildFeedMetadata and #buildFeedEntries.

Thanks to Jettro Coenradie and Sergio Bossa for the original feed view prototype!

Author
Arjen Poutsma

Author
Juergen Hoeller

Since
3.0

See Also
#buildFeedMetadata#buildFeedEntries<a href="http://www.atomenabled.org/developers/syndication/">Atom Syndication Format</a>

Constructors

<init>

AbstractAtomFeedView()

Properties

DEFAULT_FEED_TYPE

static val DEFAULT_FEED_TYPE: String

Functions

setFeedType

open fun setFeedType(feedType: String): Unit

Set the Rome feed type to use.

Defaults to Atom 1.0.