org.jivesoftware.smackx.bookmark
Class BookmarkedURL

java.lang.Object
  extended by org.jivesoftware.smackx.bookmark.BookmarkedURL
All Implemented Interfaces:
SharedBookmark

public class BookmarkedURL
extends java.lang.Object
implements SharedBookmark

Respresents one instance of a URL defined using JEP-0048 Bookmark Storage JEP.

Author:
Derek DeMoro

Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getName()
          Returns the name representing the URL (eg.
 java.lang.String getURL()
          Returns the URL.
 boolean isRss()
          Returns true if this URL is a news feed.
 boolean isShared()
          Returns true if this bookmark is shared.
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()
Returns the name representing the URL (eg. Jive Software). This can be used in as a label, or identifer in applications.

Returns:
the name reprenting the URL.

getURL

public java.lang.String getURL()
Returns the URL.

Returns:
the url.

isRss

public boolean isRss()
Returns true if this URL is a news feed.

Returns:
Returns true if this URL is a news feed.

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

isShared

public boolean isShared()
Description copied from interface: SharedBookmark
Returns true if this bookmark is shared.

Specified by:
isShared in interface SharedBookmark
Returns:
returns true if this bookmark is shared.