Package org.zkoss.zml.impl
Class PageRenderer
java.lang.Object
org.zkoss.zml.impl.PageRenderer
- All Implemented Interfaces:
PageRenderer
The page render for XML pages.
- Since:
- 5.0.0
- Author:
- tomyeh
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidRenders the page.protected voidrenderComplete(Execution exec, Page page, Writer out) Renders the page ifPage.isComplete()is true.protected voidrenderPage(Execution exec, Page page, Writer out) Renders the page ifPage.isComplete()is false.
-
Constructor Details
-
PageRenderer
public PageRenderer()
-
-
Method Details
-
render
Description copied from interface:PageRendererRenders the page.- Specified by:
renderin interfacePageRendererout- the output writer to put the content to (never null).- Throws:
IOException
-
renderPage
Renders the page ifPage.isComplete()is false.- Throws:
IOException
-
renderComplete
Renders the page ifPage.isComplete()is true. In other words, the page content contains HTML/BODY tags.- Throws:
IOException
-