1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.commons.betwixt.examples.rss;
19
20 import java.io.Serializable;
21
22
23 /***
24 * <p>Implementation object representing an <strong>image</strong> in the
25 * <em>Rich Site Summary</em> DTD, version 0.91. This class may be subclassed
26 * to further specialize its behavior.</p>
27 *
28 * <p>Based on the Jakarta Commons <code>Digester</code> implementation.</p>
29 *
30 * @author Craig R. McClanahan
31 * @version $Revision: 1.3 $ $Date: 2004/03/31 21:11:53 $
32 */
33
34 public class Image implements Serializable {
35
36
37
38
39
40 /***
41 * The image description (1-100 characters).
42 */
43 protected String description = null;
44
45 public String getDescription() {
46 return (this.description);
47 }
48
49 public void setDescription(String description) {
50 this.description = description;
51 }
52
53
54 /***
55 * The image height in pixels (1-400).
56 */
57 protected int height = 31;
58
59 public int getHeight() {
60 return (this.height);
61 }
62
63 public void setHeight(int height) {
64 this.height = height;
65 }
66
67
68 /***
69 * The image link (1-500 characters).
70 */
71 protected String link = null;
72
73 public String getLink() {
74 return (this.link);
75 }
76
77 public void setLink(String link) {
78 this.link = link;
79 }
80
81
82 /***
83 * The image alternate text (1-100 characters).
84 */
85 protected String title = null;
86
87 public String getTitle() {
88 return (this.title);
89 }
90
91 public void setTitle(String title) {
92 this.title = title;
93 }
94
95
96 /***
97 * The image location URL (1-500 characters).
98 */
99 protected String url = null;
100
101 public String getURL() {
102 return (this.url);
103 }
104
105 public void setURL(String url) {
106 this.url = url;
107 }
108
109
110 /***
111 * The image width in pixels (1-400).
112 */
113 protected int width = 31;
114
115 public int getWidth() {
116 return (this.width);
117 }
118
119 public void setWidth(int width) {
120 this.width = width;
121 }
122 }