1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.portals.applications.rss;
18
19 import com.sun.syndication.feed.synd.SyndFeed;
20
21 /***
22 *
23 * @author <a href="mailto:christophe.lombart@sword-technologies.com">Lombart Christophe </a>
24 * @version $Id: RssInfo.java 516448 2007-03-09 16:25:47Z ate $
25 */
26 public class RssInfo
27 {
28 private SyndFeed feed;
29 private int itemdisplayed;
30 private boolean openinpopup;
31 private boolean showdescription;
32 private boolean showtitle;
33 private boolean showtextinput;
34
35
36
37 /***
38 * @param feed
39 * @param itemdisplayed
40 * @param openinpopup
41 * @param showdescription
42 * @param showtitle
43 * @param showtextinput
44 */
45 public RssInfo(SyndFeed feed, int itemdisplayed, boolean openinpopup, boolean showdescription, boolean showtitle,
46 boolean showtextinput)
47 {
48 this.feed = feed;
49 this.itemdisplayed = itemdisplayed;
50 this.openinpopup = openinpopup;
51 this.showdescription = showdescription;
52 this.showtitle = showtitle;
53 this.showtextinput = showtextinput;
54 }
55
56 public SyndFeed getFeed()
57 {
58 return feed;
59 }
60 public void setFeed(SyndFeed feed)
61 {
62 this.feed = feed;
63 }
64 public int getItemdisplayed()
65 {
66 return itemdisplayed;
67 }
68 public void setItemdisplayed(int itemdisplayed)
69 {
70 this.itemdisplayed = itemdisplayed;
71 }
72 public boolean isOpeninpopup()
73 {
74 return openinpopup;
75 }
76 public void setOpeninpopup(boolean openinpopup)
77 {
78 this.openinpopup = openinpopup;
79 }
80 public boolean isShowdescription()
81 {
82 return showdescription;
83 }
84 public void setShowdescription(boolean showdescription)
85 {
86 this.showdescription = showdescription;
87 }
88 public boolean isShowtextinput()
89 {
90 return showtextinput;
91 }
92 public void setShowtextinput(boolean showtextinput)
93 {
94 this.showtextinput = showtextinput;
95 }
96 public boolean isShowtitle()
97 {
98 return showtitle;
99 }
100 public void setShowtitle(boolean showtitle)
101 {
102 this.showtitle = showtitle;
103 }
104 }