com.alogient.cameleon.extension.wicket.ui.web20.rss
Class FeedResource
java.lang.Object
org.apache.wicket.Resource
org.apache.wicket.markup.html.WebResource
com.alogient.cameleon.extension.wicket.ui.web20.rss.FeedResource
- All Implemented Interfaces:
- Serializable, org.apache.wicket.IClusterable, org.apache.wicket.IRequestListener, org.apache.wicket.IResourceListener
- Direct Known Subclasses:
- BlogFeedResource
public abstract class FeedResource
- extends org.apache.wicket.markup.html.WebResource
Wicket WebResource for streaming RSS/Atom Feeds.
A WebPage can add an autodiscovery link
so that browsers can display icons for available RSS/Atom feeds.
- See Also:
- "https://rome.dev.java.net/",
"http://en.wikipedia.org/wiki/Web_syndication",
Serialized Form
| Fields inherited from interface org.apache.wicket.IResourceListener |
INTERFACE |
|
Method Summary |
static org.apache.wicket.behavior.HeaderContributor |
autodiscoveryLink(org.apache.wicket.ResourceReference reference)
|
static org.apache.wicket.behavior.HeaderContributor |
autodiscoveryLink(org.apache.wicket.ResourceReference reference,
org.apache.wicket.util.value.ValueMap params)
create a header contribution that will render an autodiscovery link to the feed resource. |
protected abstract com.sun.syndication.feed.synd.SyndFeed |
getFeed()
extension point for rendering the desired feed. |
org.apache.wicket.util.resource.IResourceStream |
getResourceStream()
|
| Methods inherited from class org.apache.wicket.markup.html.WebResource |
configureResponse, getCacheDuration, setHeaders |
| Methods inherited from class org.apache.wicket.Resource |
getParameters, invalidate, isCacheable, onResourceRequested, setCacheable, setParameters |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FeedResource
public FeedResource()
getFeed
protected abstract com.sun.syndication.feed.synd.SyndFeed getFeed()
- extension point for rendering the desired feed.
- Returns:
- the desired feed
getResourceStream
public final org.apache.wicket.util.resource.IResourceStream getResourceStream()
- Specified by:
getResourceStream in class org.apache.wicket.Resource
autodiscoveryLink
public static org.apache.wicket.behavior.HeaderContributor autodiscoveryLink(org.apache.wicket.ResourceReference reference)
- Parameters:
reference - the resource
- Returns:
- the Header Contributor
- See Also:
autodiscoveryLink(ResourceReference, ValueMap)
autodiscoveryLink
public static org.apache.wicket.behavior.HeaderContributor autodiscoveryLink(org.apache.wicket.ResourceReference reference,
org.apache.wicket.util.value.ValueMap params)
- create a
header contribution that will render an autodiscovery link to the feed resource.
allows for parameters to be passed to the feed.
The link content type is based upon the feed's content type.
The link title is is based upon the feed's title.
- Parameters:
reference - the refertenceparams - the param
- Returns:
- the header contributor
- See Also:
- "http://blogs.msdn.com/rssteam/articles/PublishersGuide.aspx"
Copyright © 2011 Alogient. All Rights Reserved.