org.zkoss.zml.impl
Class PageRenderer

java.lang.Object
  extended by org.zkoss.zml.impl.PageRenderer
All Implemented Interfaces:
org.zkoss.zk.ui.sys.PageRenderer

public class PageRenderer
extends Object
implements org.zkoss.zk.ui.sys.PageRenderer

The page render for XML pages.

Since:
5.0.0
Author:
tomyeh

Constructor Summary
PageRenderer()
           
 
Method Summary
 void render(org.zkoss.zk.ui.Page page, Writer out)
           
protected  void renderComplete(org.zkoss.zk.ui.Execution exec, org.zkoss.zk.ui.Page page, Writer out)
          Renders the page if Page.isComplete() is true.
protected  void renderPage(org.zkoss.zk.ui.Execution exec, org.zkoss.zk.ui.Page page, Writer out)
          Renders the page if Page.isComplete() is false.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageRenderer

public PageRenderer()
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

renderPage

protected void renderPage(org.zkoss.zk.ui.Execution exec,
                          org.zkoss.zk.ui.Page page,
                          Writer out)
                   throws IOException
Renders the page if Page.isComplete() is false.

Throws:
IOException

renderComplete

protected void renderComplete(org.zkoss.zk.ui.Execution exec,
                              org.zkoss.zk.ui.Page page,
                              Writer out)
                       throws IOException
Renders the page if Page.isComplete() is true. In other words, the page content contains HTML/BODY tags.

Throws:
IOException


Copyright © 2014. All rights reserved.