Class VelocityLayout

    • Method Detail

      • populateContext

        protected abstract void populateContext​(PipelineData pipelineData,
                                                org.apache.velocity.context.Context context)
                                         throws Exception
        Populate Velocity context
        Parameters:
        pipelineData - PipelineData
        context - the Velocity context
        Throws:
        Exception - if evaluation fails
      • render

        protected void render​(PipelineData pipelineData,
                              org.apache.velocity.context.Context context,
                              String templateName)
                       throws Exception
        Render layout
        Parameters:
        pipelineData - PipelineData
        context - the Velocity context
        templateName - relative path to Velocity template
        Throws:
        Exception - if rendering fails