1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package com.sun.syndication.feed.synd;
18
19 import com.sun.syndication.common.ObjectBean;
20
21 /***
22 * Bean for images of SyndFeed feeds.
23 * <p>
24 * @author Alejandro Abdelnur
25 *
26 */
27 public class SyndImage extends ObjectBean implements SyndImageI {
28 private String _title;
29 private String _url;
30 private String _link;
31 private String _description;
32
33 /***
34 * Default constructor. All properties are set to <b>null</b>.
35 * <p>
36 *
37 */
38 public SyndImage() {
39 }
40
41 /***
42 * Returns the image title.
43 * <p>
44 * @return the image title, <b>null</b> if none.
45 *
46 */
47 public String getTitle() {
48 return _title;
49 }
50
51 /***
52 * Sets the image title.
53 * <p>
54 * @param title the image title to set, <b>null</b> if none.
55 *
56 */
57 public void setTitle(String title) {
58 _title = title;
59 }
60
61 /***
62 * Returns the image URL.
63 * <p>
64 * @return the image URL, <b>null</b> if none.
65 *
66 */
67 public String getUrl() {
68 return _url;
69 }
70
71 /***
72 * Sets the image URL.
73 * <p>
74 * @param url the image URL to set, <b>null</b> if none.
75 *
76 */
77 public void setUrl(String url) {
78 _url = url;
79 }
80
81 /***
82 * Returns the image link.
83 * <p>
84 * @return the image link, <b>null</b> if none.
85 *
86 */
87 public String getLink() {
88 return _link;
89 }
90
91 /***
92 * Sets the image link.
93 * <p>
94 * @param link the image link to set, <b>null</b> if none.
95 *
96 */
97 public void setLink(String link) {
98 _link = link;
99 }
100
101 /***
102 * Returns the image description.
103 * <p>
104 * @return the image description, <b>null</b> if none.
105 *
106 */
107 public String getDescription() {
108 return _description;
109 }
110
111 /***
112 * Sets the image description.
113 * <p>
114 * @param description the image description to set, <b>null</b> if none.
115 *
116 */
117 public void setDescription(String description) {
118 _description = description;
119 }
120
121 }