Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.xpn.xwiki.plugin.feed
Class FeedPlugin  view FeedPlugin download FeedPlugin.java

java.lang.Object
  extended bycom.xpn.xwiki.plugin.XWikiDefaultPlugin
      extended bycom.xpn.xwiki.plugin.feed.FeedPlugin
All Implemented Interfaces:
com.xpn.xwiki.plugin.XWikiPluginInterface

public class FeedPlugin
extends com.xpn.xwiki.plugin.XWikiDefaultPlugin
implements com.xpn.xwiki.plugin.XWikiPluginInterface


Nested Class Summary
static class FeedPlugin.SyndEntryComparator
           
 
Field Summary
private  com.xpn.xwiki.cache.api.XWikiCache feedCache
           
private static org.apache.commons.logging.Log mLogger
           
private  int refreshPeriod
           
 
Fields inherited from class com.xpn.xwiki.plugin.XWikiDefaultPlugin
 
Constructor Summary
FeedPlugin(java.lang.String name, java.lang.String className, com.xpn.xwiki.XWikiContext context)
           
 
Method Summary
 void flushCache()
           
 SyndFeed getFeed(java.lang.String sfeed, boolean force, com.xpn.xwiki.XWikiContext context)
           
 SyndFeed getFeed(java.lang.String sfeed, com.xpn.xwiki.XWikiContext context)
           
 SyndFeed getFeedForce(java.lang.String sfeed, com.xpn.xwiki.XWikiContext context)
           
 SyndFeed getFeeds(java.lang.String sfeeds, com.xpn.xwiki.XWikiContext context)
           
 java.lang.String getName()
           
 com.xpn.xwiki.api.Api getPluginApi(com.xpn.xwiki.plugin.XWikiPluginInterface plugin, com.xpn.xwiki.XWikiContext context)
           
 void init(com.xpn.xwiki.XWikiContext context)
           
 
Methods inherited from class com.xpn.xwiki.plugin.XWikiDefaultPlugin
beginRendering, commonTagsHandler, endRendering, endRenderingHandler, getClassName, insidePREHandler, outsidePREHandler, setClassName, setName, startRenderingHandler, virtualInit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.xpn.xwiki.plugin.XWikiPluginInterface
beginRendering, commonTagsHandler, endRendering, endRenderingHandler, getClassName, insidePREHandler, outsidePREHandler, setClassName, setName, startRenderingHandler, virtualInit
 

Field Detail

mLogger

private static org.apache.commons.logging.Log mLogger

feedCache

private com.xpn.xwiki.cache.api.XWikiCache feedCache

refreshPeriod

private int refreshPeriod
Constructor Detail

FeedPlugin

public FeedPlugin(java.lang.String name,
                  java.lang.String className,
                  com.xpn.xwiki.XWikiContext context)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface com.xpn.xwiki.plugin.XWikiPluginInterface

getPluginApi

public com.xpn.xwiki.api.Api getPluginApi(com.xpn.xwiki.plugin.XWikiPluginInterface plugin,
                                          com.xpn.xwiki.XWikiContext context)
Specified by:
getPluginApi in interface com.xpn.xwiki.plugin.XWikiPluginInterface

flushCache

public void flushCache()
Specified by:
flushCache in interface com.xpn.xwiki.plugin.XWikiPluginInterface

init

public void init(com.xpn.xwiki.XWikiContext context)
Specified by:
init in interface com.xpn.xwiki.plugin.XWikiPluginInterface

getFeeds

public SyndFeed getFeeds(java.lang.String sfeeds,
                         com.xpn.xwiki.XWikiContext context)
                  throws java.io.IOException

getFeed

public SyndFeed getFeed(java.lang.String sfeed,
                        com.xpn.xwiki.XWikiContext context)
                 throws java.io.IOException

getFeed

public SyndFeed getFeed(java.lang.String sfeed,
                        boolean force,
                        com.xpn.xwiki.XWikiContext context)
                 throws java.io.IOException

getFeedForce

public SyndFeed getFeedForce(java.lang.String sfeed,
                             com.xpn.xwiki.XWikiContext context)
                      throws java.io.IOException