SASAX-RSS gui

jp.ne.dti.lares.foozy.sasax.rss
Class ChannelFactory

java.lang.Object
  |
  +--jp.ne.dti.lares.foozy.sasax.rss.ChannelFactory

public class ChannelFactory
extends java.lang.Object

Put information into Channel from parsing result.

This class works as a kind of deserializer, which deserializes Channel from RSS document by SASAX/SASAX-RSS.

  1. get InputStream for RSS document from specified location
  2. set Notifications to corresponded element
  3. parse RSS document, and it causes deserialization

Author:
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>(code/doc)

Constructor Summary
ChannelFactory()
           
 
Method Summary
static Channel create(java.lang.String location)
          Create Channel from RSS document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChannelFactory

public ChannelFactory()
Method Detail

create

public static Channel create(java.lang.String location)
                      throws java.io.IOException,
                             org.xml.sax.SAXException,
                             javax.xml.parsers.ParserConfigurationException
Create Channel from RSS document.
Parameters:
location - of RSS document

SASAX-RSS gui