net.spy.jwebkit.rss
Class RSSChannel

java.lang.Object
  extended by net.spy.SpyObject
      extended by net.spy.jwebkit.rss.RSSChannel
All Implemented Interfaces:
net.spy.xml.SAXAble

public abstract class RSSChannel
extends net.spy.SpyObject
implements net.spy.xml.SAXAble

An RSS channel.


Constructor Summary
RSSChannel(java.lang.String t, java.lang.String l, java.lang.String d)
          Get an RSS channel instance.
 
Method Summary
 java.lang.String getDescription()
          Get the description of this channel.
protected abstract  java.util.Collection<? extends RSSItem> getItems()
          Get the RSS items for this channel.
 java.lang.String getLanguage()
          Get the language of this channel.
 java.lang.String getLink()
          Get the link to this channel.
 java.lang.String getTitle()
          Get the title of this channel.
 java.lang.String toString()
           
 void writeXml(org.xml.sax.ContentHandler handler)
          Serialize this RSS channel.
 
Methods inherited from class net.spy.SpyObject
getLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RSSChannel

public RSSChannel(java.lang.String t,
                  java.lang.String l,
                  java.lang.String d)
Get an RSS channel instance.

Method Detail

getTitle

public java.lang.String getTitle()
Get the title of this channel.


getLink

public java.lang.String getLink()
Get the link to this channel.


getDescription

public java.lang.String getDescription()
Get the description of this channel.


getLanguage

public java.lang.String getLanguage()
Get the language of this channel.


getItems

protected abstract java.util.Collection<? extends RSSItem> getItems()
Get the RSS items for this channel.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

writeXml

public void writeXml(org.xml.sax.ContentHandler handler)
              throws org.xml.sax.SAXException
Serialize this RSS channel.

Specified by:
writeXml in interface net.spy.xml.SAXAble
Throws:
org.xml.sax.SAXException


Copyright © 1995-2007 SPY Internetworking. All Rights Reserved.