1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.commons.betwixt.examples.rss;
20
21 import java.io.Serializable;
22
23
24 /***
25 * <p>Implementation object representing an <strong>item</strong> in the
26 * <em>Rich Site Summary</em> DTD, version 0.91. This class may be subclassed
27 * to further specialize its behavior.</p>
28 *
29 * <p>Based on the Jakarta Commons <code>Digester</code> implementation.</p>
30 *
31 * @author Craig R. McClanahan
32 * @version $Revision: 438373 $ $Date: 2006-08-30 06:17:21 +0100 (Wed, 30 Aug 2006) $
33 */
34
35 public class Item implements Serializable {
36
37
38
39
40
41 /***
42 * The item description (1-500 characters).
43 */
44 protected String description = null;
45
46 public String getDescription() {
47 if (this.description == null) {
48 return "";
49 }
50 return (this.description);
51 }
52
53 public void setDescription(String description) {
54 this.description = description;
55 }
56
57
58 /***
59 * The item link (1-500 characters).
60 */
61 protected String link = null;
62
63 public String getLink() {
64 return (this.link);
65 }
66
67 public void setLink(String link) {
68 this.link = link;
69 }
70
71
72 /***
73 * The item title (1-100 characters).
74 */
75 protected String title = null;
76
77 public String getTitle() {
78 return (this.title);
79 }
80
81 public void setTitle(String title) {
82 this.title = title;
83 }
84 }