org.blojsom.plugin.xpath
Class XPathSearchPlugin

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

public class XPathSearchPlugin
extends SimpleSearchPlugin

XPathSearchPlugin

Since:
blojsom 2.02
Version:
$Id: XPathSearchPlugin.java,v 1.8 2006/01/04 16:22:22 czarneckid Exp $
Author:
Mark Lussier

Field Summary
 
Fields inherited from class org.blojsom.plugin.search.SimpleSearchPlugin
QUERY_PARAM
 
Constructor Summary
XPathSearchPlugin()
           
 
Method Summary
 BlogEntry[] process(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, BlogUser user, java.util.Map context, BlogEntry[] entries)
          Process the blog entries
 
Methods inherited from class org.blojsom.plugin.search.SimpleSearchPlugin
cleanup, destroy, init
 
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 BlogEntry[] process(javax.servlet.http.HttpServletRequest httpServletRequest,
                           javax.servlet.http.HttpServletResponse httpServletResponse,
                           BlogUser user,
                           java.util.Map context,
                           BlogEntry[] entries)
                    throws BlojsomPluginException
Process the blog entries

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