KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jperdian > rss2 > dom > RssCloud


1 /**
2  * RSS framework and reader
3  * Copyright (C) 2004 Christian Robert
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18  */

19
20 package org.jperdian.rss2.dom;
21
22 import java.io.Serializable JavaDoc;
23
24 /**
25  * <p>Implementation of the RSS <tt>cloud</tt> element.</p>
26  *
27  * <p>Note: The <tt>cloud</tt> processing is not supported yet</p>
28  *
29  * @author Christian Robert
30  */

31
32 public class RssCloud implements Serializable JavaDoc {
33
34   private String JavaDoc myDomain = "";
35   private int myPort = 80;
36   private String JavaDoc myPath = "";
37   private String JavaDoc myRegisterProcedure = "";
38   private String JavaDoc myProtocol = "";
39   
40   
41   // --------------------------------------------------------------------------
42
// -- Property access methods ---------------------------------------------
43
// --------------------------------------------------------------------------
44

45   public String JavaDoc getDomain() {
46     return myDomain;
47   }
48
49   public void setDomain(String JavaDoc domain) {
50     this.myDomain = domain;
51   }
52
53   public String JavaDoc getPath() {
54     return this.myPath;
55   }
56
57   public void setPath(String JavaDoc path) {
58     this.myPath = path;
59   }
60
61   public int getPort() {
62     return this.myPort;
63   }
64
65   public void setPort(int port) {
66     this.myPort = port;
67   }
68
69   public String JavaDoc getProtocol() {
70     return this.myProtocol;
71   }
72
73   public void setProtocol(String JavaDoc protocol) {
74     this.myProtocol = protocol;
75   }
76
77   public String JavaDoc getRegisterProcedure() {
78     return this.myRegisterProcedure;
79   }
80
81   public void setRegisterProcedure(String JavaDoc registerProcedure) {
82     this.myRegisterProcedure = registerProcedure;
83   }
84
85 }
Popular Tags