Overview  Package   Class  Tree  Deprecated  Index  Help 
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    
SUMMARY: 
java.lang.Object
  extended by com.webmethods.caf.faces.bean.PageFlowScopeAdapter
      extended by com.webmethods.caf.faces.data.object.NewsfeedContentProvider
All Implemented Interfaces:
IPageFlowScopeAdapter, IContentProvider, IRefreshable, IRefreshableContentProvider, IUpdateableContentProvider, Serializable

public class NewsfeedContentProvider
extends PageFlowScopeAdapter
implements Serializable, IUpdateableContentProvider, IRefreshableContentProvider

Exposes an rss/atom syndication feed as a content-provider. This content-provider must be configured with the URL of the feed.

This provider's feed property represents the feed content as a rome SyndFeed. If this provider's normalize property is set to true, the SyndFeed will be "normalized" by sanitizing all URI properties (such as the feed's link and the individual entry links) and all SyndContent properties (such as the feed's title and the entries' contents).

See Also:
Serialized Form

Field Detail

RE_CONTAINS_HTML

protected static final Pattern RE_CONTAINS_HTML

RE_HTML_CONTENT_TYPE

protected static final Pattern RE_HTML_CONTENT_TYPE

RE_IMAGE_CONTENT_TYPE

protected static final Pattern RE_IMAGE_CONTENT_TYPE

RE_SAFE_URI_SCHEME

protected static final Pattern RE_SAFE_URI_SCHEME

PROPERTY_KEYS_ARRAY

protected static final Object[] PROPERTY_KEYS_ARRAY

PROPERTY_KEYS_SET

protected static final Set PROPERTY_KEYS_SET

m_autoRefresh

protected boolean m_autoRefresh

m_needRefresh

protected boolean m_needRefresh

m_errorHandler

protected IErrorHandler m_errorHandler

m_normalize

protected boolean m_normalize

m_url

protected String m_url

m_feed

protected transient SyndFeed m_feed
Constructor Detail

NewsfeedContentProvider

public NewsfeedContentProvider()
Creates a new, uninitialized newsfeed content-provider. This provider must be initialized with a feed URL before use.


NewsfeedContentProvider

public NewsfeedContentProvider(String url)
Creates a new newsfeed content-provider initialized with a feed URL.


NewsfeedContentProvider

public NewsfeedContentProvider(String url,
                               boolean normalize)
Creates a new newsfeed content-provider initialized with a feed URL and a normalize flag.


Overview  Package   Class  Tree  Deprecated  Index  Help 
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    
SUMMARY: