1 package com.opensymphony.webwork.components.template; 2 3 import com.opensymphony.webwork.components.UIBean; 4 import com.opensymphony.xwork.util.OgnlValueStack; 5 6 import java.io.Writer ; 7 import java.util.Map ; 8 9 15 public class TemplateRenderingContext { 16 Template template; 17 OgnlValueStack stack; 18 Map parameters; 19 UIBean tag; 20 Writer writer; 21 22 public TemplateRenderingContext(Template template, Writer writer, OgnlValueStack stack, Map params, UIBean tag) { 23 this.template = template; 24 this.writer = writer; 25 this.stack = stack; 26 this.parameters = params; 27 this.tag = tag; 28 } 29 30 public Template getTemplate() { 31 return template; 32 } 33 34 public OgnlValueStack getStack() { 35 return stack; 36 } 37 38 public Map getParameters() { 39 return parameters; 40 } 41 42 public UIBean getTag() { 43 return tag; 44 } 45 46 public Writer getWriter() { 47 return writer; 48 } 49 } 50 | Popular Tags |