Package org.zkoss.zml.impl
Class PageRenderer
- java.lang.Object
-
- org.zkoss.zml.impl.PageRenderer
-
- All Implemented Interfaces:
PageRenderer
public class PageRenderer extends java.lang.Object implements PageRenderer
The page render for XML 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 void
render(Page page, java.io.Writer out)
Renders the page.protected void
renderComplete(Execution exec, Page page, java.io.Writer out)
Renders the page ifPage.isComplete()
is true.protected void
renderPage(Execution exec, Page page, java.io.Writer out)
Renders the page ifPage.isComplete()
is false.
-
-
-
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
-
renderPage
protected void renderPage(Execution exec, Page page, java.io.Writer out) throws java.io.IOException
Renders the page ifPage.isComplete()
is false.- Throws:
java.io.IOException
-
renderComplete
protected void renderComplete(Execution exec, Page page, java.io.Writer out) throws java.io.IOException
Renders the page ifPage.isComplete()
is true. In other words, the page content contains HTML/BODY tags.- Throws:
java.io.IOException
-
-