Holger's
Java API

com.antelmann.net
Class RSSChannel

java.lang.Object
  extended by com.antelmann.net.RSSChannel
All Implemented Interfaces:
Serializable

public class RSSChannel
extends Object
implements Serializable

represents a channel in the RSS format created by an RSSHandler

Author:
Holger Antelmann
See Also:
RSSHandler, RSSMenu, Serialized Form

Method Summary
static Properties createProperties(Element element)
          A new map is created on each call.
 String getDescription()
           
 Element getElement()
           
 ImageIcon getImageIcon()
           
 URL getImageURL()
           
 RSSItem[] getItems()
           
 Date getLastBuildDate()
           
 Properties getProperties()
          convenience method; a new map is created on each call.
 RSSHandler getRSSHandler()
           
static String getTagText(Element element, String tag)
           
 String getTitle()
           
 URL getURL()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRSSHandler

public RSSHandler getRSSHandler()

getElement

public Element getElement()

getItems

public RSSItem[] getItems()
                   throws FormatException
Throws:
FormatException

getTitle

public String getTitle()

getDescription

public String getDescription()

getURL

public URL getURL()
           throws MalformedURLException
Throws:
MalformedURLException

getLastBuildDate

public Date getLastBuildDate()

getImageURL

public URL getImageURL()
                throws IOException
Throws:
IOException

getImageIcon

public ImageIcon getImageIcon()
                       throws IOException
Throws:
IOException

getProperties

public Properties getProperties()
convenience method; a new map is created on each call.


createProperties

public static Properties createProperties(Element element)
A new map is created on each call.


getTagText

public static String getTagText(Element element,
                                String tag)


(c) 2001-2006 Holger Antelmann - all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads