01: package org.gridsphere.provider.portletui.beans;
02:
03: import javax.servlet.ServletContext;
04: import javax.servlet.jsp.JspWriter;
05:
06: /*
07: * @author <a href="mailto:russell@aei.mpg.de">Michael Russell</a>
08: * @version $Id: IncludeBean.java 6385 2007-10-25 14:02:26Z wehrens $
09: * <p>
10: * Includes jsp pages from any web application.
11: */
12:
13: public class IncludeBean extends BaseBean implements TagBean {
14:
15: protected ServletContext servletContext = null;
16: protected JspWriter jspWriter = null;
17: protected String page = null;
18:
19: /**
20: * Constructs default include bean
21: */
22: public IncludeBean() {
23: super ();
24: }
25:
26: /**
27: * Constructs an include bean
28: */
29: public IncludeBean(String beanId) {
30: super (beanId);
31: }
32:
33: public ServletContext getServletContext() {
34: return servletContext;
35: }
36:
37: public void setServletContext(ServletContext servletContext) {
38: this .servletContext = servletContext;
39: }
40:
41: public JspWriter getJspWriter() {
42: return jspWriter;
43: }
44:
45: public void setJspWriter(JspWriter jspWriter) {
46: this .jspWriter = jspWriter;
47: }
48:
49: public String getPage() {
50: return page;
51: }
52:
53: public void setPage(String page) {
54: this .page = page;
55: }
56:
57: public String toStartString() {
58: return "";
59: }
60:
61: public String toEndString() {
62: return "";
63: }
64:
65: }
|