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

Quick Search    Search Deep

com.sun.syndication.io.impl.* (36)

com.sun.syndication.io: Javadoc index of package com.sun.syndication.io.


Package Samples:

com.sun.syndication.io.impl

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 ...
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().
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
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.
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.
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).
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.
WireFeedParser: Parses an XML document (JDOM) into a feed bean. WireFeedParser instances must thread safe. TODO: explain how developers can plugin their own implementations.
FeedException: Exception thrown by WireFeedInput, WireFeedOutput, WireFeedParser and WireFeedGenerator instances if they can not parse or generate a feed.
ParsingFeedException: Exception thrown by WireFeedInput instance if it can not parse a feed.
Base64: Encodes/decodes byte arrays and Strings into/from a base 64 String.
DCModuleGenerator: Feed Generator for DublinCore Module.
SyModuleGenerator: Feed Generator for SY ModuleImpl
DCModuleParser: Parser for the Dublin Core module.
RSS091NetscapeGenerator: Feed Generator for RSS 0.91
RSS092Generator: Feed Generator for RSS 0.92
RSS090Generator: Feed Generator for RSS 0.90
RSS094Generator: Feed Generator for RSS 0.94

Home | Contact Us | Privacy Policy | Terms of Service