public class BodyContext extends Context<BodyContext>
| Constructor and Description |
|---|
BodyContext(ISkinConfig config)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
initialize(ISkinConfig config)
Allows to initialize the context.
|
protected String |
onPreRender(ISkinConfig skinConfig,
String bodyContent)
generic pre-rendering method executed on all components of context.
|
buildContext, getFooter, getNavbar, getScrollTop, getType, preRender, renderSnippets, self, toString, withTypeaddChildren, addCssOptions, getBodyContent, getCssClass, getCssOptions, getHtmlTool, setCssClasspublic BodyContext(@Nonnull ISkinConfig config)
config - a config (can not be null).protected void initialize(@Nonnull ISkinConfig config)
Contextinitialize in class Context<BodyContext>config - a config (can not be null).protected String onPreRender(@Nonnull ISkinConfig skinConfig, @Nonnull String bodyContent)
ComponentonPreRender in class Context<BodyContext>skinConfig - the current skin config.bodyContent - the current body content.String representing the transformed body content on pre-rendering.Copyright © 2012–2023 Friederich Christophe. All rights reserved.