| java.lang.Object org.blojsom.plugin.macro.MacroExpansionPlugin
MacroExpansionPlugin | public class MacroExpansionPlugin implements Plugin(Code) | | Macro Expansion Plugin
author: David Czarnecki author: Mark Lussier since: blojsom 3.0 version: $Id: MacroExpansionPlugin.java,v 1.2 2007/01/17 02:35:11 czarneckid Exp $ |
MacroExpansionPlugin | public MacroExpansionPlugin()(Code) | | Default constructor. Compiles the macro regular expression pattern, $MACRO$
|
destroy | public void destroy() throws PluginException(Code) | | Called when BlojsomServlet is taken out of service
throws: PluginException - If there is an error in finalizing this plugin |
init | public void init() throws PluginException(Code) | | Initialize this plugin. This method only called when the plugin is instantiated.
throws: PluginException - If there is an error initializing the plugin |
process | public Entry[] process(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Blog blog, Map context, Entry[] entries) throws PluginException(Code) | | Process the blog entries
Parameters: httpServletRequest - Request Parameters: httpServletResponse - Response Parameters: blog - Blog instance Parameters: context - Context Parameters: entries - Blog entries retrieved for the particular request Modified set of blog entries throws: PluginException - If there is an error processing the blog entries |
|
|