Package org.zkoss.zul.impl
Class PageRenderer
- java.lang.Object
-
- org.zkoss.zul.impl.PageRenderer
-
- All Implemented Interfaces:
org.zkoss.zk.ui.sys.PageRenderer
public class PageRenderer extends java.lang.Object implements org.zkoss.zk.ui.sys.PageRendererThe page render for ZUL pages.- Since:
- 5.0.0
- Author:
- tomyeh
-
-
Constructor Summary
Constructors Constructor Description PageRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrender(org.zkoss.zk.ui.Page page, java.io.Writer out)protected voidrenderComplete(org.zkoss.zk.ui.Execution exec, org.zkoss.zk.ui.Page page, java.io.Writer out)Renders the page ifPage.isComplete()is true.protected voidrenderDesktop(org.zkoss.zk.ui.Execution exec, org.zkoss.zk.ui.Page page, java.io.Writer out)Renders the desktop and the page.protected voidrenderPage(org.zkoss.zk.ui.Execution exec, org.zkoss.zk.ui.Page page, java.io.Writer out, boolean au)Renders the page ifPage.isComplete()is false.
-
-
-
Method Detail
-
render
public void render(org.zkoss.zk.ui.Page page, java.io.Writer out) throws java.io.IOException- Specified by:
renderin interfaceorg.zkoss.zk.ui.sys.PageRenderer- Throws:
java.io.IOException
-
renderDesktop
protected void renderDesktop(org.zkoss.zk.ui.Execution exec, org.zkoss.zk.ui.Page page, java.io.Writer out) throws java.io.IOExceptionRenders the desktop and the page.- Throws:
java.io.IOException
-
renderPage
protected void renderPage(org.zkoss.zk.ui.Execution exec, org.zkoss.zk.ui.Page page, java.io.Writer out, boolean au) throws java.io.IOExceptionRenders the page ifPage.isComplete()is false.- Parameters:
au- whether it is caused by an asynchronous update- Throws:
java.io.IOException
-
renderComplete
protected void renderComplete(org.zkoss.zk.ui.Execution exec, org.zkoss.zk.ui.Page page, java.io.Writer out) throws java.io.IOExceptionRenders the page ifPage.isComplete()is true. In other words, the page content contains HTML/BODY tags.- Throws:
java.io.IOException
-
-