FileDocCategorySizeDatePackage
TemplateRenderingContext.javaAPI DocExample2188Mon Jul 23 13:26:36 BST 2007org.apache.struts2.components.template

TemplateRenderingContext

public class TemplateRenderingContext extends Object
Context used when rendering templates.

Fields Summary
Template
template
com.opensymphony.xwork2.util.ValueStack
stack
Map
parameters
org.apache.struts2.components.UIBean
tag
Writer
writer
Constructors Summary
public TemplateRenderingContext(Template template, Writer writer, com.opensymphony.xwork2.util.ValueStack stack, Map params, org.apache.struts2.components.UIBean tag)
Constructor

param
template the template.
param
writer the writer.
param
stack OGNL value stack.
param
params parameters to this template.
param
tag the tag UI component.

        this.template = template;
        this.writer = writer;
        this.stack = stack;
        this.parameters = params;
        this.tag = tag;
    
Methods Summary
public java.util.MapgetParameters()

        return parameters;
    
public com.opensymphony.xwork2.util.ValueStackgetStack()

        return stack;
    
public org.apache.struts2.components.UIBeangetTag()

        return tag;
    
public TemplategetTemplate()

        return template;
    
public java.io.WritergetWriter()

        return writer;