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 |
renderPage(Execution exec,
Page page,
java.io.Writer out)
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 renderPage(Execution exec, Page page, java.io.Writer out) throws java.io.IOException
Page.isComplete()
is false.java.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-2018 Potix Corporation. All Rights Reserved.