Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.sun.syndication.feed.* (68)com.sun.syndication.io.* (48)com.sun.syndication.unittest.* (29)

Package Samples:

com.sun.syndication.io.impl
com.sun.syndication.io
com.sun.syndication.feed.synd.impl
com.sun.syndication.feed.synd
com.sun.syndication.feed.module.impl
com.sun.syndication.feed.module
com.sun.syndication.feed.atom
com.sun.syndication.feed.impl
com.sun.syndication.feed.rss
com.sun.syndication.feed.sse
com.sun.syndication.feed
com.sun.syndication.unittest

Classes:

XmlReader: Character stream that handles (or at least attemtps to) all the necessary Voodo to figure out the charset encoding of the XML document within the stream. IMPORTANT: This class is not related in any way to the org.xml.sax.XMLReader. This one IS a character stream. All this has to be done without consuming characters from the stream, if not the XML parser will not recognized the document as a valid XML. This is not 100% true, but it's close enough (UTF-8 BOM is not handled by all parsers right now, XmlReader handles it and things work in all parsers). The XmlReader class handles the charset encoding ...
ObjectBean: Convenience class providing clone(), toString(), equals() and hashCode() functionality for Java Beans. It works on all read/write properties, recursively. It uses the CloneableBean, EqualsBean and ToStringBean classes in a delegation pattern. ObjectBean programming conventions All ObjectBean subclasses having properties that return collections they should never return null if the property has been set to null or if a collection has not been set. They should create and return an empty collection, this empty collection instance should also be set to the corresponding property. All ObjectBean subclasses ...
PropertiesLoader: Properties loader that aggregates a master properties file and several extra properties files, all from the current classpath. The master properties file has to be in a distinct location than the extra properties files. First the master properties file is loaded, then all the extra properties files in their order of appearance in the classpath. Current use cases (plugin manager for parsers/converters/generators for feeds and modules and date formats) assume properties are list of tokens, that why the only method to get property values is the getTokenizedProperty().
SyndCategoryListFacade: List implementation for SyndCategoryImpl elements. To be directly used by the SyndFeedImpl and SyndEntryImpl classes only. It acts as a facade on top of the DCSubjectImpl elements of the underlying list and remains in synch with it. It is possible to work on either list, the categories one or the subjects one and they remain in synch. This is necessary because the SyndFeedImpl categories are just a convenience to access the DublinCore subjects. All this mess to avoid making DCSubjectImpl implement SyndCategory (which it would be odd).
RSS20wNSParser: To address issue with certain feeds (brought up by Charles Miller): "During the debacle that was the rollout of RSS2.0, this namespace was tried, and even appeared in Dave Winer's Scripting News feed for a while. It was then withdrawn, but the wonderful thing about standards is the moment you roll one out, even if it's marked as unfinished and subject to change, someone will end up stuck with it forever." Note that there is not counter part on the generator, we only generate the final RSS2
WireFeed: 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
FeedParsers: Parses an XML document (JDOM Document) into a Feed. It accepts all flavors of RSS (0.90, 0.91, 0.92, 0.93, 0.94, 1.0 and 2.0) and Atom 0.3 feeds. The WireFeedParser is a liberal parser. WireFeedParser instances are thread safe. Parsers for a specific type must extend this class and register in the parser list. (Right now registration is hardcoded in the WireFeedParser constructor).
XmlReaderException: The XmlReaderException is thrown by the XmlReader constructors if the charset encoding can not be determined according to the XML 1.0 specification and RFC 3023. The exception returns the unconsumed InputStream to allow the application to do an alternate processing with the stream. Note that the original InputStream given to the XmlReader cannot be used as that one has been already read.
FeedGenerators: Generates an XML document (JDOM Document) out of a Feed. It can generate all flavors of RSS (0.90, 0.91, 0.92, 0.93, 0.94, 1.0 and 2.0) and Atom 0.3 feed. WireFeedGenerator instances are thread safe. Generators for a specific type must extend this class and register in the generator list. (Right now registration is hardcoded in the WireFeedGenerator constructor).
WireFeedInput: Parses an XML document (File, InputStream, Reader, W3C SAX InputSource, W3C DOM Document or JDom DOcument) into an WireFeed (RSS/Atom). It accepts all flavors of RSS (0.90, 0.91, 0.92, 0.93, 0.94, 1.0 and 2.0) and Atom 0.3 feeds. Parsers are plugable (they must implement the WireFeedParser interface). The WireFeedInput useds liberal parsers.
EqualsBean: Provides deep Bean equals() and hashCode() functionality for Java Beans. It works on all read/write properties, recursively. It support all primitive types, Strings, Collections, bean-like objects and multi-dimensional arrays of any of them. The hashcode is calculated by getting the hashcode of the Bean String representation.
DateParser: A helper class that parses Dates out of Strings with date time in RFC822 and W3CDateTime formats plus the variants Atom (0.3) and RSS (0.9, 0.91, 0.92, 0.93, 0.94, 1.0 and 2.0) specificators added to those formats. It uses the JDK java.text.SimpleDateFormat class attemtping the parse using a mask for each one of the possible formats.
Converter: Interface that defines the functionality to convert a SyndFeedImpl to a real feed (RSS or Atom) and vice versa. Each implementation knows how to deal with a specific type (version) of a real feed. Implementations must be thread safe. TODO: explain how developers can plugin their own implementations.
WireFeedOutput: Generates an XML document (String, File, OutputStream, Writer, W3C DOM document or JDOM document) out of an WireFeed (RSS/Atom). It generates all flavors of RSS (0.90, 0.91, 0.92, 0.93, 0.94, 1.0 and 2.0) and Atom 0.3 feeds. Generators are plugable (they must implement the ModuleParser interface).
Item: Bean for items of RSS feeds. It handles all RSS versions without loosing information. For RSS1.0 it supports Dublin Core and Syndication modules. Note that those modules currently support simple syntax format only.
CloneableBean: Provides deep Bean clonning support. It works on all read/write properties, recursively. It support all primitive types, Strings, Collections, Cloneable objects and multi-dimensional arrays of any of them.
ToStringBean: Provides deep Bean toString support. It works on all read/write properties, recursively. It support all primitive types, Strings, Collections, ToString objects and multi-dimensional arrays of any of them.
WireFeedGenerator: Generates an XML document (JDOM) out of a feed for a specific real feed type. WireFeedGenerator instances must thread safe. TODO: explain how developers can plugin their own implementations.
SyndFeedInput: Parses an XML document (File, InputStream, Reader, W3C SAX InputSource, W3C DOM Document or JDom DOcument) into an SyndFeedImpl. It delegates to a WireFeedInput to handle all feed types.
SyndFeedOutput: Generates an XML document (String, File, OutputStream, Writer, W3C DOM document or JDOM document) out of an SyndFeedImpl.. It delegates to a WireFeedOutput to generate all feed types.
ModuleGenerator: Injects module metadata into a XML node (JDOM element). ModuleGenerator instances must thread safe. TODO: explain how developers can plugin their own implementations.
ModuleParser: Parses module metadata from a XML node (JDOM element). ModuleParser instances must thread safe. TODO: explain how developers can plugin their own implementations.
BeanIntrospector: Obtains all property descriptors from a bean (interface or implementation). The java.beans.Introspector does not process the interfaces hierarchy chain, this one does.
WireFeedParser: Parses an XML document (JDOM) into a feed bean. WireFeedParser instances must thread safe. TODO: explain how developers can plugin their own implementations.
ModuleImpl: Base class for modules describing Metadata of feeds, default implementations. Examples of such modules are the Dublin Core and Syndication modules.

Home | Contact Us | Privacy Policy | Terms of Service