|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.bebop.page.PageDispatcher
Class for dispatching a single Bebop page object. Generates the XML output for a Bebop page and renders it with an XSL template.
Field Summary | |
static String |
versionId
|
Constructor Summary | |
PageDispatcher(Page page)
Creates a new page dispatcher for a page object. |
|
PageDispatcher(Page page,
PresentationManager pres)
Creates a new page dispatcher for a page object and a PresentationManager. |
Method Summary | |
void |
dispatch(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
RequestContext ctx)
Serves the Bebop page using the specified PresentationManager . |
Page |
getPage()
Returns the wrapped page that this dispatcher serves. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String versionId
Constructor Detail |
public PageDispatcher(Page page, PresentationManager pres)
public PageDispatcher(Page page)
Method Detail |
public void dispatch(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, RequestContext ctx) throws IOException, javax.servlet.ServletException
PresentationManager
.
dispatch
in interface Dispatcher
req
- the servlet request objectresp
- the servlet response objectctx
- the request context
javax.servlet.ServletException
- may be thrown by the
dispatcher to propagate a generic error to its caller
IOException
- may be thrown by the dispatcher
to indicate an I/O errorpublic Page getPage()
Page
object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |