public class PageRenderer extends java.lang.Object implements PageRenderer
Constructor and Description |
---|
PageRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
render(Page page,
java.io.Writer out)
Renders the page.
|
protected void |
renderComplete(Execution exec,
Page page,
java.io.Writer out)
Renders the page if
Page.isComplete() is true. |
protected void |
renderDesktop(Execution exec,
Page page,
java.io.Writer out)
Renders the desktop and the page.
|
protected void |
renderPage(Execution exec,
Page page,
java.io.Writer out,
boolean au)
Renders the page if
Page.isComplete() is false. |
public void render(Page page, java.io.Writer out) throws java.io.IOException
PageRenderer
render
in interface PageRenderer
out
- the output writer to put the content to (never null).java.io.IOException
protected void renderDesktop(Execution exec, Page page, java.io.Writer out) throws java.io.IOException
java.io.IOException
protected void renderPage(Execution exec, Page page, java.io.Writer out, boolean au) throws java.io.IOException
Page.isComplete()
is false.au
- whether it is caused by an asynchronous updatejava.io.IOException
protected void renderComplete(Execution exec, Page page, java.io.Writer out) throws java.io.IOException
Page.isComplete()
is true.
In other words, the page content contains HTML/BODY tags.java.io.IOException
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.