Package 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
  Description
  `TemplateRenderingContext(Template template, Writer writer, ValueStack stack, Map<String,Object> params, UIBean tag)`
  Constructor

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Map<String,Object>`
  `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 Details

  - ### TemplateRenderingContext

    public TemplateRenderingContext(Template template, Writer writer, ValueStack stack, Map<String,Object> 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 Details

  - ### getTemplate

    public Template getTemplate()

  - ### getStack

    public ValueStack getStack()

  - ### getParameters

    public Map<String,Object> getParameters()

  - ### getTag

    public UIBean getTag()

  - ### getWriter

    public Writer getWriter()