001: /*
002: * Licensed to the Apache Software Foundation (ASF) under one or more
003: * contributor license agreements. See the NOTICE file distributed with
004: * this work for additional information regarding copyright ownership.
005: * The ASF licenses this file to You under the Apache License, Version 2.0
006: * (the "License"); you may not use this file except in compliance with
007: * the License. You may obtain a copy of the License at
008: *
009: * http://www.apache.org/licenses/LICENSE-2.0
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: */
017: package org.apache.portals.applications.rss;
018:
019: import com.sun.syndication.feed.synd.SyndFeed;
020:
021: /**
022: *
023: * @author <a href="mailto:christophe.lombart@sword-technologies.com">Lombart Christophe </a>
024: * @version $Id: RssInfo.java 516448 2007-03-09 16:25:47Z ate $
025: */
026: public class RssInfo {
027: private SyndFeed feed;
028: private int itemdisplayed;
029: private boolean openinpopup;
030: private boolean showdescription;
031: private boolean showtitle;
032: private boolean showtextinput;
033:
034: /**
035: * @param feed
036: * @param itemdisplayed
037: * @param openinpopup
038: * @param showdescription
039: * @param showtitle
040: * @param showtextinput
041: */
042: public RssInfo(SyndFeed feed, int itemdisplayed,
043: boolean openinpopup, boolean showdescription,
044: boolean showtitle, boolean showtextinput) {
045: this .feed = feed;
046: this .itemdisplayed = itemdisplayed;
047: this .openinpopup = openinpopup;
048: this .showdescription = showdescription;
049: this .showtitle = showtitle;
050: this .showtextinput = showtextinput;
051: }
052:
053: public SyndFeed getFeed() {
054: return feed;
055: }
056:
057: public void setFeed(SyndFeed feed) {
058: this .feed = feed;
059: }
060:
061: public int getItemdisplayed() {
062: return itemdisplayed;
063: }
064:
065: public void setItemdisplayed(int itemdisplayed) {
066: this .itemdisplayed = itemdisplayed;
067: }
068:
069: public boolean isOpeninpopup() {
070: return openinpopup;
071: }
072:
073: public void setOpeninpopup(boolean openinpopup) {
074: this .openinpopup = openinpopup;
075: }
076:
077: public boolean isShowdescription() {
078: return showdescription;
079: }
080:
081: public void setShowdescription(boolean showdescription) {
082: this .showdescription = showdescription;
083: }
084:
085: public boolean isShowtextinput() {
086: return showtextinput;
087: }
088:
089: public void setShowtextinput(boolean showtextinput) {
090: this .showtextinput = showtextinput;
091: }
092:
093: public boolean isShowtitle() {
094: return showtitle;
095: }
096:
097: public void setShowtitle(boolean showtitle) {
098: this.showtitle = showtitle;
099: }
100: }
|