com.sun.syndication.feed.rss
Class Source

java.lang.Object
  extended bycom.sun.syndication.common.ObjectBean
      extended bycom.sun.syndication.feed.rss.Source
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable, ToString

public class Source
extends ObjectBean

Bean for item sources of RSS feeds.

Author:
Alejandro Abdelnur
See Also:
Serialized Form

Constructor Summary
Source()
          Default constructor.
 
Method Summary
 java.lang.String getUrl()
          Returns the source URL.
 java.lang.String getValue()
          Returns the source value.
 void setUrl(java.lang.String url)
          Sets the source URL.
 void setValue(java.lang.String value)
          Sets the source value.
 
Methods inherited from class com.sun.syndication.common.ObjectBean
clone, equals, hashCode, toString, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Source

public Source()
Default constructor. All properties are set to null.

Method Detail

getUrl

public java.lang.String getUrl()
Returns the source URL.

Returns:
the source URL, null if none.

setUrl

public void setUrl(java.lang.String url)
Sets the source URL.

Parameters:
url - the source URL to set, null if none.

getValue

public java.lang.String getValue()
Returns the source value.

Returns:
the source value, null if none.

setValue

public void setValue(java.lang.String value)
Sets the source value.

Parameters:
value - the source value to set, null if none.


Copyright © 2004 Sun Microsystems. All Rights Reserved.