|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jivesoftware.smackx.bookmark.BookmarkedURL
public class BookmarkedURL
Respresents one instance of a URL defined using JEP-0048 Bookmark Storage JEP.
Constructor Summary | |
---|---|
protected |
BookmarkedURL(String URL)
|
protected |
BookmarkedURL(String URL,
String name,
boolean isRss)
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getName()
Returns the name representing the URL (eg. |
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. |
protected void |
setName(String name)
Sets the name representing the URL. |
protected void |
setRss(boolean isRss)
Set to true if this URL is an RSS or news feed. |
protected void |
setShared(boolean shared)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected BookmarkedURL(String URL)
protected BookmarkedURL(String URL, String name, boolean isRss)
Method Detail |
---|
public String getName()
protected void setName(String name)
name
- the name.public String getURL()
protected void setRss(boolean isRss)
isRss
- True if the URL is a news feed and false if it is not.public boolean isRss()
public boolean equals(Object obj)
equals
in class Object
protected void setShared(boolean shared)
public boolean isShared()
SharedBookmark
isShared
in interface SharedBookmark
|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |