Java Doc for WireFeed.java in  » RSS-RDF » Rome » com » sun » syndication » feed » 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 » Rome » com.sun.syndication.feed 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.syndication.feed.WireFeed

All known Subclasses:   com.sun.syndication.feed.atom.Feed,  com.sun.syndication.feed.rss.Channel,
WireFeed
abstract public class WireFeed implements Cloneable,Serializable,Extendable(Code)
Parent class of the RSS (Channel) and Atom (Feed) feed beans.

NOTE: We don't like this class at this package level but the alternative would have been a proliferation of packages (one more level to hold atom and rss package with this class just in that package).

The format of the 'type' property must be [FEEDNAME]_[FEEDVERSION] with the FEEDNAME in lower case, for example: rss_0.9, rss_0.93, atom_0.3


author:
   Alejandro Abdelnur




Constructor Summary
protected  WireFeed()
     Default constructor, for bean cloning purposes only.
protected  WireFeed(String type)
     Creates a feed for a given type.

Method Summary
public  Objectclone()
     Creates a deep 'bean' clone of the object.
public  booleanequals(Object other)
     Indicates whether some other object is "equal to" this one as defined by the Object equals() method.


Parameters:
  other - he reference object with which to compare.

public  StringgetEncoding()
     Returns the charset encoding of a the feed.

This property is not set by feed parsers.

public  StringgetFeedType()
     Returns the type of the feed.
public  ObjectgetForeignMarkup()
     Returns foreign markup found at channel level.
public  ModulegetModule(String uri)
     Returns the module identified by a given URI.


Parameters:
  uri - the URI of the ModuleImpl.

public  ListgetModules()
     Returns the channel modules.
public  inthashCode()
     Returns a hashcode value for the object.
public  voidsetEncoding(String encoding)
     Sets the charset encoding of a the feed.

This property is not set by feed parsers.

public  voidsetFeedType(String feedType)
     Sets the feedType of a the feed.
public  voidsetForeignMarkup(Object foreignMarkup)
     Sets foreign markup found at channel level.
public  voidsetModules(List modules)
     Sets the channel modules.
public  StringtoString()
     Returns the String representation for the object.


Constructor Detail
WireFeed
protected WireFeed()(Code)
Default constructor, for bean cloning purposes only.




WireFeed
protected WireFeed(String type)(Code)
Creates a feed for a given type.


Parameters:
  type - of the feed to create.





Method Detail
clone
public Object clone() throws CloneNotSupportedException(Code)
Creates a deep 'bean' clone of the object.

a clone of the object.
throws:
  CloneNotSupportedException - thrown if an element of the object cannot be cloned.




equals
public boolean equals(Object other)(Code)
Indicates whether some other object is "equal to" this one as defined by the Object equals() method.


Parameters:
  other - he reference object with which to compare. true if 'this' object is equal to the 'other' object.




getEncoding
public String getEncoding()(Code)
Returns the charset encoding of a the feed.

This property is not set by feed parsers. But it is used by feed generators to set the encoding in the XML prolog.

the charset encoding of the feed.




getFeedType
public String getFeedType()(Code)
Returns the type of the feed. the type of the feed.



getForeignMarkup
public Object getForeignMarkup()(Code)
Returns foreign markup found at channel level.

Opaque object to discourage use




getModule
public Module getModule(String uri)(Code)
Returns the module identified by a given URI.


Parameters:
  uri - the URI of the ModuleImpl. The module with the given URI, null if none.




getModules
public List getModules()(Code)
Returns the channel modules.

a list of ModuleImpl elements with the channel modules,an empty list if none.




hashCode
public int hashCode()(Code)
Returns a hashcode value for the object.

It follows the contract defined by the Object hashCode() method.

the hashcode of the bean object.




setEncoding
public void setEncoding(String encoding)(Code)
Sets the charset encoding of a the feed.

This property is not set by feed parsers. But it is used by feed generators to set the encoding in the XML prolog.


Parameters:
  encoding - the charset encoding of the feed.




setFeedType
public void setFeedType(String feedType)(Code)
Sets the feedType of a the feed. Do not use, for bean cloning purposes only.


Parameters:
  feedType - the feedType of the feed.




setForeignMarkup
public void setForeignMarkup(Object foreignMarkup)(Code)
Sets foreign markup found at channel level.


Parameters:
  foreignMarkup - Opaque object to discourage use




setModules
public void setModules(List modules)(Code)
Sets the channel modules.


Parameters:
  modules - the list of ModuleImpl elements with the channel modules to set,an empty list or null if none.




toString
public String toString()(Code)
Returns the String representation for the object.

String representation for the object.




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.