Class BodyContext


  • public class BodyContext
    extends Context<BodyContext>
    Since:
    2.3
    Author:
    Christophe Friederich
    • Constructor Detail

      • BodyContext

        public BodyContext​(@Nonnull
                           ISkinConfig config)
        Default constructor.
        Parameters:
        config - a config (can not be null).
    • Method Detail

      • onPreRender

        protected String onPreRender​(@Nonnull
                                     String bodyContent)
        Description copied from class: Component
        generic pre-rendering method executed on all components of context.
        Overrides:
        onPreRender in class Context<BodyContext>
        Parameters:
        bodyContent - the current body content.
        Returns:
        Returns a String representing the transformed body content on pre-rendering.