org.japano
Class PageGenerator
java.lang.Object
org.japano.PageGenerator
public class PageGenerator
- extends java.lang.Object
Loads the dynamically generated JSP classes and calls their output generation.
- Version:
- $Id: PageGenerator.java,v 1.19 2005/11/18 15:20:10 fforw Exp $
- Author:
- Sven Helmberger ( sven dot helmberger at gmx dot de )
Field Summary |
protected static org.apache.log4j.Logger |
logger
|
Method Summary |
void |
destroy()
Destroys the page generator |
void |
generatePage(Buffer out,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String uri,
java.util.Map pageScope,
java.lang.String errorPageURI,
java.lang.Throwable throwable)
Generates a JSP Page. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static org.apache.log4j.Logger logger
PageGenerator
public PageGenerator(JapanoConfig config)
- Initializes the Page Generator with configuration data.
- Parameters:
config
- japano config
generatePage
public void generatePage(Buffer out,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String uri,
java.util.Map pageScope,
java.lang.String errorPageURI,
java.lang.Throwable throwable)
throws java.io.IOException
- Generates a JSP Page.
- Parameters:
out
- Buffer to generate the page into.request
- Requestresponse
- Responseuri
- URI of the page to generate. The URI from the request will be ignored.pageScope
- Map containing the initial page scope.
- Throws:
java.io.IOException
destroy
public void destroy()
- Destroys the page generator