Feed Class

Used to represent an RSS feed/channel. Returns a list of entries and other attributes associated with the feed.


public Feed( )
protected Feed( org.w3c.dom.Node node, java.util.HashMap namespaces )


addItem( javaxt.rss.Item item ) returns void
Used to add an RSS item to the Feed.
getDescription( ) returns String
getItems( ) returns javaxt.rss.Item[]
Returns a list of items found in an RSS feed.
getLastUpdate( ) returns java.util.Date
getLink( ) returns java.net.URL
getLocation( ) returns javaxt.rss.Location
Returns location information associated with the current feed (e.g. GeoRSS element).
getRefreshInterval( ) returns Integer
Returns the number of minutes that the channel can be cached before refreshing from the source. Derived from the ttl tag in RSS feeds. Returns null if the refresh interval is not specified or unknown.
getTitle( ) returns String
setDescription( String description ) returns void
setLastUpdate( java.util.Date date ) returns void
setLink( java.net.URL link ) returns void
setRefreshInterval( Integer interval ) returns void
setTitle( String title ) returns void
toString( ) returns String
toXML( ) returns org.w3c.dom.Document
Returns an RSS/XML document for this Feed.