Package org.zkoss.zkplus.embed
Class Renders.PageRenderer
- java.lang.Object
-
- org.zkoss.zkplus.embed.Renders.PageRenderer
-
- All Implemented Interfaces:
PageRenderer
- Enclosing class:
- Renders
public static class Renders.PageRenderer extends java.lang.Object implements PageRenderer
A special page renderer that renders a page without generating the HTML tag of the page. In other words, it generates all components directly.- Since:
- 5.0.4
- Author:
- tomyeh
-
-
Constructor Summary
Constructors Constructor Description PageRenderer()
Default constructor.PageRenderer(Execution exec)
PageRenderer(Execution exec, boolean pageDOM)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
render(Page page, java.io.Writer out)
Renders the page.
-
-
-
Constructor Detail
-
PageRenderer
public PageRenderer()
Default constructor. It is the same asPageRenderer(Executions.getCurrent())
.
-
PageRenderer
public PageRenderer(Execution exec)
-
PageRenderer
public PageRenderer(Execution exec, boolean pageDOM)
- Parameters:
pageDOM
- whether to generate the DOM element to represent the page. In other words, if true is specified, the content will be enclosed with an additional DIV element representing the tag.- Since:
- 5.0.8
-
-
Method Detail
-
render
public void render(Page page, java.io.Writer out) throws java.io.IOException
Description copied from interface:PageRenderer
Renders the page.- Specified by:
render
in interfacePageRenderer
out
- the output writer to put the content to (never null).- Throws:
java.io.IOException
-
-