01: /*
02: * Copyright 2002 Sun Microsystems, Inc. All
03: * rights reserved. Use of this product is subject
04: * to license terms. Federal Acquisitions:
05: * Commercial Software -- Government Users
06: * Subject to Standard License Terms and
07: * Conditions.
08: *
09: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
10: * are trademarks or registered trademarks of Sun Microsystems,
11: * Inc. in the United States and other countries.
12: */
13:
14: package com.sun.portal.container.impl;
15:
16: import com.sun.portal.container.GetMarkupResponse;
17:
18: public class GetMarkupResponseImpl extends ContainerResponseImpl
19: implements GetMarkupResponse {
20:
21: private String _title = null;
22: private StringBuffer _markup = null;
23: private int _expiration = 0;
24:
25: /**
26: * Sets the markup content of the channel.
27: *
28: * @return markup content of the channel
29: **/
30: public void setMarkup(StringBuffer markup) {
31: _markup = markup;
32: }
33:
34: /**
35: * Returns the markup content of the channel.
36: *
37: * @return markup content of the channel
38: **/
39: public StringBuffer getMarkup() {
40: return _markup;
41: }
42:
43: /**
44: * Sets the title String of the channel.
45: *
46: * @param title the title of the channel
47: **/
48: public void setTitle(String title) {
49: _title = title;
50: }
51:
52: /**
53: * Returns the title of the channel as a <code>String</code>.
54: *
55: * @return the title
56: **/
57: public String getTitle() {
58: return _title;
59: }
60:
61: /**
62: * Sets the
63: *
64: * @param title the title of the channel
65: **/
66: public void setExpiration(int expiration) {
67: _expiration = expiration;
68: }
69:
70: /**
71: * Returns the
72: *
73: * @return the title
74: **/
75: public int getExpiration() {
76: return _expiration;
77: }
78: }
|