com.thirtyboxes.api
Class Feed

java.lang.Object
  extended by com.thirtyboxes.api.Feed

public class Feed
extends java.lang.Object

Represents an RSS feed that a user has subscribed to through 30 Boxes. The user may have 0-to-many feeds.

Version:
1.0
Author:
keith@kludge.co.uk
See Also:
User.getFeeds()

Constructor Summary
protected Feed(org.w3c.dom.Node feedNode)
          XML Node constructor.
 
Method Summary
 java.lang.String getName()
          Gets the display name of this feed.
 java.net.URL getURL()
          Gets the URL of this feed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Feed

protected Feed(org.w3c.dom.Node feedNode)
XML Node constructor. Creates the Feed object from xml (returned as part of a User object).

Parameters:
feedNode - The parsed XML node.
Method Detail

getName

public java.lang.String getName()
Gets the display name of this feed.

Returns:
The name of the feed

getURL

public java.net.URL getURL()
Gets the URL of this feed.

Returns:
The URL of the feed