org.archive.wayback.query
Class Renderer
java.lang.Object
org.archive.wayback.query.Renderer
- All Implemented Interfaces:
- QueryRenderer
public class Renderer
- extends java.lang.Object
- implements QueryRenderer
Brain-dead simple QueryRenderer implementation, which shunts all the work off
to a .jsp file as defined by administrators. Also has basic logic to switch
to a different .jsp to format request asking for XML data.
- Version:
- $Date: 2008-07-21 18:29:30 -0700 (Mon, 21 Jul 2008) $, $Revision: 2471 $
- Author:
- brad
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Renderer
public Renderer()
renderCaptureResults
public void renderCaptureResults(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse,
WaybackRequest wbRequest,
CaptureSearchResults results,
ResultURIConverter uriConverter)
throws javax.servlet.ServletException,
java.io.IOException
- Description copied from interface:
QueryRenderer
- Show the SearchResults of the request for this particular URL
- Specified by:
renderCaptureResults in interface QueryRenderer
- Parameters:
httpRequest - the HttpServletRequesthttpResponse - the HttpServletResponsewbRequest - the WaybackRequest that returned the resultsresults - the SearchResults that the WaybackRequest matcheduriConverter - the URI converter to use to translate matching
results into replayable URLs
- Throws:
javax.servlet.ServletException
java.io.IOException
renderUrlResults
public void renderUrlResults(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse,
WaybackRequest wbRequest,
UrlSearchResults results,
ResultURIConverter uriConverter)
throws javax.servlet.ServletException,
java.io.IOException
- Description copied from interface:
QueryRenderer
- Show the SearchResults of the request which may have resulted in
multiple matching URLs.
- Specified by:
renderUrlResults in interface QueryRenderer
- Parameters:
httpRequest - the HttpServletRequesthttpResponse - the HttpServletResponsewbRequest - the WaybackRequest that returned the resultsresults - the SearchResults that the WaybackRequest matcheduriConverter - the URI converter to use to translate matching
results into replayable URLs
- Throws:
javax.servlet.ServletException
java.io.IOException
getCaptureJsp
public java.lang.String getCaptureJsp()
- Returns:
- the captureJsp
setCaptureJsp
public void setCaptureJsp(java.lang.String captureJsp)
- Parameters:
captureJsp - the captureJsp to set
getUrlJsp
public java.lang.String getUrlJsp()
- Returns:
- the urlJsp
setUrlJsp
public void setUrlJsp(java.lang.String urlJsp)
- Parameters:
urlJsp - the urlJsp to set
getXmlCaptureJsp
public java.lang.String getXmlCaptureJsp()
- Returns:
- the xmlCaptureJsp
setXmlCaptureJsp
public void setXmlCaptureJsp(java.lang.String xmlCaptureJsp)
- Parameters:
xmlCaptureJsp - the xmlCaptureJsp to set
getXmlUrlJsp
public java.lang.String getXmlUrlJsp()
- Returns:
- the xmlUrlJsp
setXmlUrlJsp
public void setXmlUrlJsp(java.lang.String xmlUrlJsp)
- Parameters:
xmlUrlJsp - the xmlUrlJsp to set
Copyright © 2005-2009 Internet Archive. All Rights Reserved.