org.zkoss.zkplus.embed
Class Renders.PageRenderer

java.lang.Object
  extended by org.zkoss.zkplus.embed.Renders.PageRenderer
All Implemented Interfaces:
org.zkoss.zk.ui.sys.PageRenderer
Enclosing class:
Renders

public static class Renders.PageRenderer
extends Object
implements org.zkoss.zk.ui.sys.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
Renders.PageRenderer()
          Default constructor.
Renders.PageRenderer(org.zkoss.zk.ui.Execution exec)
           
Renders.PageRenderer(org.zkoss.zk.ui.Execution exec, boolean pageDOM)
           
 
Method Summary
 void render(org.zkoss.zk.ui.Page page, Writer out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Renders.PageRenderer

public Renders.PageRenderer()
Default constructor. It is the same as PageRenderer(Executions.getCurrent()).


Renders.PageRenderer

public Renders.PageRenderer(org.zkoss.zk.ui.Execution exec)

Renders.PageRenderer

public Renders.PageRenderer(org.zkoss.zk.ui.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(org.zkoss.zk.ui.Page page,
                   Writer out)
            throws IOException
Specified by:
render in interface org.zkoss.zk.ui.sys.PageRenderer
Throws:
IOException


Copyright © 2014. All rights reserved.