org.apache.struts2.components.template

## Class TemplateRenderingContext

- java.lang.Object
- - org.apache.struts2.components.template.TemplateRenderingContext

-     public class TemplateRenderingContext
      extends Object

  Context used when rendering templates.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TemplateRenderingContext(Template template, Writer writer, ValueStack stack, Map params, UIBean tag)` Constructor

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Map` | `getParameters()`
    `ValueStack` | `getStack()`
    `UIBean` | `getTag()`
    `Template` | `getTemplate()`
    `Writer` | `getWriter()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### TemplateRenderingContext

          public TemplateRenderingContext(Template template,
                                          Writer writer,
                                          ValueStack stack,
                                          Map params,
                                          UIBean tag)

      Constructor
      Parameters:
        `template` - the template.
        `writer` - the writer.
        `stack` - OGNL value stack.
        `params` - parameters to this template.
        `tag` - the tag UI component.

  - ### Method Detail

    - #### getTemplate

          public Template getTemplate()

    - #### getStack

          public ValueStack getStack()

    - #### getParameters

          public Map getParameters()

    - #### getTag

          public UIBean getTag()

    - #### getWriter

          public Writer getWriter()

Copyright © 2000–2025 Apache Software Foundation. All rights reserved.