public class HtmlFullRenderer extends NodeVisitorBase
| Modifier | Constructor and Description |
|---|---|
protected |
HtmlFullRenderer(HtmlTagRenderer tagRenderer,
IBrowserOutput o) |
| Modifier and Type | Method and Description |
|---|---|
IRequestContext |
ctx() |
StringBuilder |
getCreateJS()
Return all of the Javascript code to create/recreate this page.
|
HtmlRenderMode |
getMode() |
HtmlTagRenderer |
getTagRenderer() |
boolean |
isXml() |
IBrowserOutput |
o() |
Page |
page() |
void |
render(IRequestContext ctx,
Page page) |
void |
renderHeadContributors()
Get all contributor sources and create an ordered list (ordered by the indicated 'order') to render.
|
void |
renderLoadCSS(String path) |
void |
renderLoadJavascript(String path) |
protected void |
renderPageHeader() |
protected void |
renderThemeCSS()
Render the proper themed stylesheet.
|
void |
setRenderMode(HtmlRenderMode m) |
void |
setXml(boolean xml) |
void |
visitChildren(NodeContainer c) |
void |
visitLiteralXhtml(LiteralXhtml n)
Deprecated.
|
void |
visitNodeBase(NodeBase n) |
void |
visitNodeContainer(NodeContainer n) |
void |
visitTextArea(TextArea n)
Overridden to fix bug 627; this prevents embedding content in textarea and renders the value as
an attribute.
|
visitA, visitBR, visitButton, visitCheckbox, visitDiv, visitFileInput, visitForm, visitH, visitIFrame, visitImg, visitInput, visitLabel, visitLi, visitOption, visitPre, visitRadioButton, visitSelect, visitSpan, visitTable, visitTBody, visitTD, visitText, visitTextNode, visitTH, visitTHead, visitTR, visitUl, visitUnderline, visitXmlNodeprotected HtmlFullRenderer(@Nonnull HtmlTagRenderer tagRenderer, @Nonnull IBrowserOutput o)
public HtmlTagRenderer getTagRenderer()
public HtmlRenderMode getMode()
public void setRenderMode(HtmlRenderMode m)
public boolean isXml()
public void setXml(boolean xml)
@Nonnull public IBrowserOutput o()
public IRequestContext ctx()
public Page page()
public void visitNodeBase(NodeBase n) throws Exception
visitNodeBase in class NodeVisitorBaseException@Deprecated public void visitLiteralXhtml(LiteralXhtml n) throws Exception
visitLiteralXhtml in interface INodeVisitorvisitLiteralXhtml in class NodeVisitorBaseExceptionNodeVisitorBase.visitLiteralXhtml(to.etc.domui.component.misc.LiteralXhtml)public void visitTextArea(TextArea n) throws Exception
visitTextArea in interface INodeVisitorvisitTextArea in class NodeVisitorBaseExceptionNodeVisitorBase.visitTextArea(to.etc.domui.dom.html.TextArea)public void visitNodeContainer(NodeContainer n) throws Exception
visitNodeContainer in class NodeVisitorBaseExceptionpublic void visitChildren(NodeContainer c) throws Exception
visitChildren in class NodeVisitorBaseExceptionprotected void renderThemeCSS()
throws Exception
Exceptionpublic void renderHeadContributors()
throws Exception
Exceptionpublic void renderLoadJavascript(@Nonnull String path) throws Exception
Exceptionpublic void render(IRequestContext ctx, Page page) throws Exception
Exceptionpublic StringBuilder getCreateJS()
Copyright © 2017 etc.to. All rights reserved.