Source Code Cross Referenced for Feed.java in  » RSS-RDF » informa » de » nava » informa » impl » basic » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » RSS RDF » informa » de.nava.informa.impl.basic 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        //
002:        // Informa -- RSS Library for Java
003:        // Copyright (c) 2002, 2003 by Niko Schmuck
004:        //
005:        // Niko Schmuck
006:        // http://sourceforge.net/projects/informa
007:        // mailto:niko_schmuck@users.sourceforge.net
008:        //
009:        // This library is free software.
010:        //
011:        // You may redistribute it and/or modify it under the terms of the GNU
012:        // Lesser General Public License as published by the Free Software Foundation.
013:        //
014:        // Version 2.1 of the license should be included with this distribution in
015:        // the file LICENSE. If the license is not included with this distribution,
016:        // you may find a copy at the FSF web site at 'www.gnu.org' or 'www.fsf.org',
017:        // or you may write to the Free Software Foundation, 675 Mass Ave, Cambridge,
018:        // MA 02139 USA.
019:        //
020:        // This library is distributed in the hope that it will be useful,
021:        // but WITHOUT ANY WARRANTY; without even the implied waranty of
022:        // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
023:        // Lesser General Public License for more details.
024:        //
025:
026:        // $Id: Feed.java,v 1.6 2005/09/27 22:17:08 niko_schmuck Exp $
027:
028:        package de.nava.informa.impl.basic;
029:
030:        import java.net.URL;
031:        import java.util.Date;
032:
033:        import de.nava.informa.core.ChannelIF;
034:        import de.nava.informa.core.FeedIF;
035:
036:        /**
037:         * In-Memory implementation of the FeedIF interface.
038:         *
039:         * @author Niko Schmuck
040:         */
041:        public class Feed implements  FeedIF {
042:
043:            private static final long serialVersionUID = 1349458681404088401L;
044:
045:            private long id;
046:            private String title;
047:            private String text;
048:            private URL location;
049:            private URL site;
050:            private String contentType;
051:            private String copyright;
052:            private Date dateFound;
053:            private Date lastUpdated;
054:            private ChannelIF feed;
055:
056:            /**
057:             * Default constructor.
058:             */
059:            public Feed() {
060:                this ("No title");
061:            }
062:
063:            /**
064:             * Convinence constrcutor - creates meta data for a preexisting feed.
065:             * @param channel
066:             */
067:            public Feed(ChannelIF channel) {
068:                setChannel(channel);
069:                setTitle(channel.getTitle());
070:                setLocation(channel.getLocation());
071:                setSite(channel.getSite());
072:                setCopyright(channel.getCopyright());
073:            }
074:
075:            public Feed(String title) {
076:                this .title = title;
077:            }
078:
079:            public long getId() {
080:                return id;
081:            }
082:
083:            public void setId(long id) {
084:                this .id = id;
085:            }
086:
087:            public String getContentType() {
088:                return contentType;
089:            }
090:
091:            public String getCopyright() {
092:                return copyright;
093:            }
094:
095:            public Date getDateFound() {
096:                return dateFound;
097:            }
098:
099:            public Date getLastUpdated() {
100:                return lastUpdated;
101:            }
102:
103:            public URL getLocation() {
104:                return location;
105:            }
106:
107:            public URL getSite() {
108:                return site;
109:            }
110:
111:            public String getText() {
112:                return text;
113:            }
114:
115:            public String getTitle() {
116:                return title;
117:            }
118:
119:            public void setContentType(String string) {
120:                this .contentType = string;
121:            }
122:
123:            public void setCopyright(String string) {
124:                this .copyright = string;
125:            }
126:
127:            public void setDateFound(Date date) {
128:                this .dateFound = date;
129:            }
130:
131:            public void setLastUpdated(Date date) {
132:                this .lastUpdated = date;
133:            }
134:
135:            public void setLocation(URL location) {
136:                this .location = location;
137:            }
138:
139:            public void setSite(URL site) {
140:                this .site = site;
141:            }
142:
143:            public void setText(String string) {
144:                this .text = string;
145:            }
146:
147:            public void setTitle(String string) {
148:                this .title = string;
149:            }
150:
151:            public ChannelIF getChannel() {
152:                return feed;
153:            }
154:
155:            public void setChannel(ChannelIF channelIF) {
156:                feed = channelIF;
157:            }
158:
159:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.