1:/*
   2: * Created on Nov 8, 2004
   3: *
   4: * Project: xtom
   5: * 
   6: */
   7:package xtom.parser.examples.rss;
   8:
   9:/**
  10: * The class that holds the RSS Feed.
  11: * @author taras
  12: * @version $Revision: 1.1 $
  13: * @since
  14: */
  15:public class Feed {
  16:        
  17:        String version;
  18:        Channel channel;
  19:        
  20:        public Feed(Channel c, String v){
  21:                this.version = v;
  22:                this.channel = c;
  23:        }
  24:        
  25:        /**
  26:         * 
  27:         */
  28:        public Feed() {
  29:        }
  30:
  31:        /**
  32:         * @return Returns the channel.
  33:         */
  34:        public Channel getChannel() {
  35:                return channel;
  36:        }
  37:        
  38:        /**
  39:         * @param channel The channel to set.
  40:         */
  41:        public void setChannel(Channel channel) {
  42:                this.channel = channel;
  43:        }
  44:        
  45:        /**
  46:         * @return Returns the version.
  47:         */
  48:        public String getVersion() {
  49:                return version;
  50:        }
  51:        
  52:        /**
  53:         * @param version The version to set.
  54:         */
  55:        public void setVersion(String version) {
  56:                this.version = version;
  57:        }
  58:}