Class PageRenderer

java.lang.Object
org.zkoss.zul.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 ZUL pages.
Since:
5.0.0
Author:
tomyeh
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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
    renderDesktop(org.zkoss.zk.ui.Execution exec, org.zkoss.zk.ui.Page page, Writer out)
    Renders the desktop and the page.
    protected void
    renderPage(org.zkoss.zk.ui.Execution exec, org.zkoss.zk.ui.Page page, Writer out, boolean au)
    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 Details

    • PageRenderer

      public PageRenderer()
  • Method Details

    • 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
    • renderDesktop

      protected void renderDesktop(org.zkoss.zk.ui.Execution exec, org.zkoss.zk.ui.Page page, Writer out) throws IOException
      Renders the desktop and the page.
      Throws:
      IOException
    • renderPage

      protected void renderPage(org.zkoss.zk.ui.Execution exec, org.zkoss.zk.ui.Page page, Writer out, boolean au) throws IOException
      Renders the page if Page.isComplete() is false.
      Parameters:
      au - whether it is caused by an asynchronous update
      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