dekoh.portal.syndication
Class SyndicationService.FeedType
java.lang.Object
java.lang.Enum
dekoh.portal.syndication.SyndicationService.FeedType
- All Implemented Interfaces:
- Serializable, Comparable
- Enclosing class:
- SyndicationService
public static final class SyndicationService.FeedType
- extends Enum
- See Also:
- Serialized Form
RSS1_0
public static final SyndicationService.FeedType RSS1_0
RSS2_0
public static final SyndicationService.FeedType RSS2_0
Atom1_0
public static final SyndicationService.FeedType Atom1_0
SUPPORTED_FEED_TYPES
public static final EnumSet SUPPORTED_FEED_TYPES
AGGREGATOR_SUPPORTED_FEED_TYPES
public static final EnumSet AGGREGATOR_SUPPORTED_FEED_TYPES
values
public static final SyndicationService.FeedType[] values()
valueOf
public static SyndicationService.FeedType valueOf(String name)
getType
public String getType()
getOpmlVersion
public String getOpmlVersion()
- OPML enforces (undocumented) that the version of RSS be expressed in certain way. This variable returns OPML
compliant string for this FeedType.
- Returns:
- string.
getRomeAPIVersion
public String getRomeAPIVersion()
- When asking Rome API to produce a Feed like rss_1.0 or rss_2.0 this string will be used.
- Returns:
- string
getUrlSuffix
public String getUrlSuffix()
- Returns:
- string that will be suffixed in making the URL to serve feed of this type. For example rss1
suffix will make up URL http://localhost/dekohportal/feeds/rss?n=comments which serves
latest comments in RSS1 format.
Suffix rss is reserved to represent the latest RSS version, which currently is 2.
© 2009 Pramati Technologies - Dekoh - Portal for Developers