|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.zml.impl.PageRenderer
public class PageRenderer
The page render for XML pages.
Constructor Summary | |
---|---|
PageRenderer()
|
Method Summary | |
---|---|
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 if Page.isComplete() is true. |
protected void |
renderPage(Execution exec,
Page page,
java.io.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 |
---|
public PageRenderer()
Method Detail |
---|
public void render(Page page, java.io.Writer out) throws java.io.IOException
PageRenderer
render
in interface PageRenderer
out
- the output writer to put the content to (never null).
java.io.IOException
protected void renderPage(Execution exec, Page page, java.io.Writer out) throws java.io.IOException
Page.isComplete()
is false.
java.io.IOException
protected void renderComplete(Execution exec, Page page, java.io.Writer out) throws java.io.IOException
Page.isComplete()
is true.
In other words, the page content contains HTML/BODY tags.
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |