org.blojsom.plugin.xpath
Class XPathSearchPlugin

java.lang.Object
  extended byorg.blojsom.plugin.search.SimpleSearchPlugin
      extended byorg.blojsom.plugin.xpath.XPathSearchPlugin
All Implemented Interfaces:
Plugin

public class XPathSearchPlugin
extends SimpleSearchPlugin

XPathSearchPlugin

Since:
blojsom 3.0
Version:
$Id: XPathSearchPlugin.java,v 1.2 2007/01/17 02:35:07 czarneckid Exp $
Author:
David Czarnecki, Mark Lussier

Field Summary
 
Fields inherited from class org.blojsom.plugin.search.SimpleSearchPlugin
QUERY_PARAM
 
Constructor Summary
XPathSearchPlugin()
           
 
Method Summary
 Entry[] process(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, Blog blog, java.util.Map context, Entry[] entries)
          Process the blog entries
 
Methods inherited from class org.blojsom.plugin.search.SimpleSearchPlugin
cleanup, destroy, init, setFetcher
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPathSearchPlugin

public XPathSearchPlugin()
Method Detail

process

public Entry[] process(javax.servlet.http.HttpServletRequest httpServletRequest,
                       javax.servlet.http.HttpServletResponse httpServletResponse,
                       Blog blog,
                       java.util.Map context,
                       Entry[] entries)
                throws PluginException
Process the blog entries

Specified by:
process in interface Plugin
Overrides:
process in class SimpleSearchPlugin
Parameters:
httpServletRequest - Request
httpServletResponse - Response
blog - Blog instance
context - Context
entries - Blog entries retrieved for the particular request
Returns:
Modified set of blog entries
Throws:
PluginException - If there is an error processing the blog entries