01: /*
02: * Copyright (c) 2002-2006 by OpenSymphony
03: * All rights reserved.
04: */
05: package com.opensymphony.webwork.views.sitemesh;
06:
07: import javax.servlet.http.HttpServletRequest;
08: import javax.servlet.http.HttpServletResponse;
09:
10: import com.opensymphony.xwork.util.OgnlValueStack;
11:
12: /**
13: * @author tmjee
14: * @version $Date$ $Id$
15: */
16: public class SitemeshModel {
17:
18: private ApplyDecoratorTransform applyDecoratorTransform;
19:
20: private OgnlValueStack stack;
21: private HttpServletRequest request;
22: private HttpServletResponse response;
23:
24: public SitemeshModel(OgnlValueStack stack,
25: HttpServletRequest request, HttpServletResponse response) {
26: this .stack = stack;
27: this .request = request;
28: this .response = response;
29: }
30:
31: public ApplyDecoratorTransform getApplydecorator() {
32: if (applyDecoratorTransform == null) {
33: applyDecoratorTransform = new ApplyDecoratorTransform(
34: stack, request, response);
35: }
36: return applyDecoratorTransform;
37: }
38: }
|