Java Doc for BasicNewsChannel.java in  » ERP-CRM-Financial » sakai » org » sakaiproject » news » impl » 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 » ERP CRM Financial » sakai » org.sakaiproject.news.impl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.sakaiproject.news.impl.BasicNewsChannel

BasicNewsChannel
public class BasicNewsChannel implements NewsChannel(Code)
NewsChannel implementation


Field Summary
protected  Stringm_copyright
    
protected  Stringm_description
    
protected  Stringm_imageDescription
    
protected  Stringm_imageHeight
    
protected  Stringm_imageLink
    
protected  Stringm_imageTitle
    
protected  Stringm_imageUrl
    
protected  Stringm_imageWidth
    
protected  List<NewsItem>m_items
    
protected  Stringm_language
    
protected  Stringm_lastbuilddate
    
protected  Stringm_link
    
protected  Stringm_pubdate
    
protected  Stringm_source
    
protected  Stringm_title
    

Constructor Summary
public  BasicNewsChannel(String source)
     Construct.

Method Summary
public  voidaddNewsitem(NewsItem item)
    
public  intcompareTo(Object obj)
     Checks the relative ordering of the String url's of two Channels.
public  booleanequals(Object obj)
     Checks whether the parameter obj refers to the same channel as "this" channel.
public  StringgetCopyright()
    
public  StringgetDescription()
    
public  StringgetImageDescription()
    
public  StringgetImageHeight()
    
public  StringgetImageLink()
    
public  StringgetImageTitle()
    
public  StringgetImageUrl()
    
public  StringgetImageWidth()
    
public  StringgetLanguage()
    
public  StringgetLastbuilddate()
    
public  StringgetLink()
    
public  ListgetNewsitems()
     A .
public  ListgetNewsitems(Filter filter)
     A .
Parameters:
  filter - A filtering object to accept messages, or null if no filtering is desired.
public  StringgetPubdate()
    
public  StringgetSource()
    
public  StringgetTitle()
    
public  inthashCode()
     Calculates a hash code for the channel object's URL.
public  booleanisUpdateAvailable()
     Checks whether an update is available for the rss news feed.
public  voidsetCopyright(String copyright)
    
public  voidsetDescription(String description)
    
public  voidsetImageDescription(String imageDescription)
    
public  voidsetImageHeight(String imageHeight)
    
public  voidsetImageLink(String imageLink)
    
public  voidsetImageTitle(String imageTitle)
    
public  voidsetImageUrl(String imageUrl)
    
public  voidsetImageWidth(String imageWidth)
    
public  voidsetLanguage(String language)
    
public  voidsetLastbuilddate(String builddate)
    
public  voidsetLink(String link)
    
public  voidsetNewsitems(List items)
    
public  voidsetPubdate(String pubdate)
    
public  voidsetSource(String source)
    
public  voidsetTitle(String title)
    

Field Detail
m_copyright
protected String m_copyright(Code)



m_description
protected String m_description(Code)



m_imageDescription
protected String m_imageDescription(Code)



m_imageHeight
protected String m_imageHeight(Code)



m_imageLink
protected String m_imageLink(Code)



m_imageTitle
protected String m_imageTitle(Code)



m_imageUrl
protected String m_imageUrl(Code)



m_imageWidth
protected String m_imageWidth(Code)



m_items
protected List<NewsItem> m_items(Code)



m_language
protected String m_language(Code)



m_lastbuilddate
protected String m_lastbuilddate(Code)



m_link
protected String m_link(Code)



m_pubdate
protected String m_pubdate(Code)



m_source
protected String m_source(Code)



m_title
protected String m_title(Code)




Constructor Detail
BasicNewsChannel
public BasicNewsChannel(String source) throws NewsConnectionException, NewsFormatException(Code)
Construct.
Parameters:
  source - The URL from which the feed can be obtained
exception:
  NewsConnectionException - ,for errors making the connection.
exception:
  NewsFormatException - ,for errors in the URL or errors parsing the feed.




Method Detail
addNewsitem
public void addNewsitem(NewsItem item)(Code)



compareTo
public int compareTo(Object obj) throws ClassCastException(Code)
Checks the relative ordering of the String url's of two Channels. Same response pattern as compareTo method for Strings--negative if "this" object is greater than parameter, zero if the objects are equal, and positive if "this" object is less than the parameter. The parameter can be a String reference or a NewsChannel object (otherwise method throws ClassCastException). A negative integer if "this" object is greater than parameter, zero if the objects are equal, and a positive integer if "this" object is less than the parameter



equals
public boolean equals(Object obj) throws ClassCastException(Code)
Checks whether the parameter obj refers to the same channel as "this" channel. The parameter can be a String URL or a NewsChannel object (otherwise method throws ClassCastException). true if the channels are the same, false otherwise



getCopyright
public String getCopyright()(Code)



getDescription
public String getDescription()(Code)



getImageDescription
public String getImageDescription()(Code)



getImageHeight
public String getImageHeight()(Code)



getImageLink
public String getImageLink()(Code)



getImageTitle
public String getImageTitle()(Code)



getImageUrl
public String getImageUrl()(Code)



getImageWidth
public String getImageWidth()(Code)



getLanguage
public String getLanguage()(Code)



getLastbuilddate
public String getLastbuilddate()(Code)



getLink
public String getLink()(Code)



getNewsitems
public List getNewsitems()(Code)
A . the NewsItem that has the specified id.



getNewsitems
public List getNewsitems(Filter filter)(Code)
A .
Parameters:
  filter - A filtering object to accept messages, or null if no filtering is desired. a list of NewsItems objects (may be empty).



getPubdate
public String getPubdate()(Code)



getSource
public String getSource()(Code)



getTitle
public String getTitle()(Code)



hashCode
public int hashCode()(Code)
Calculates a hash code for the channel object's URL. The hash-code for the String URL to the channel.



isUpdateAvailable
public boolean isUpdateAvailable()(Code)
Checks whether an update is available for the rss news feed. true if update is available, false otherwise



setCopyright
public void setCopyright(String copyright)(Code)



setDescription
public void setDescription(String description)(Code)



setImageDescription
public void setImageDescription(String imageDescription)(Code)



setImageHeight
public void setImageHeight(String imageHeight)(Code)



setImageLink
public void setImageLink(String imageLink)(Code)



setImageTitle
public void setImageTitle(String imageTitle)(Code)



setImageUrl
public void setImageUrl(String imageUrl)(Code)



setImageWidth
public void setImageWidth(String imageWidth)(Code)



setLanguage
public void setLanguage(String language)(Code)



setLastbuilddate
public void setLastbuilddate(String builddate)(Code)



setLink
public void setLink(String link)(Code)



setNewsitems
public void setNewsitems(List items)(Code)



setPubdate
public void setPubdate(String pubdate)(Code)



setSource
public void setSource(String source) throws NewsConnectionException, NewsFormatException(Code)



setTitle
public void setTitle(String title)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.