Smack

org.jivesoftware.smackx.bookmark
Class BookmarkedURL

java.lang.Object
  extended by org.jivesoftware.smackx.bookmark.BookmarkedURL

public class BookmarkedURL
extends Object

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

Author:
Derek DeMoro

Constructor Summary
BookmarkedURL()
           
 
Method Summary
 String getName()
          Returns the name representing the URL (eg.
 String getURL()
          Returns the URL.
 void setName(String name)
          Sets the name representing the URL.
 void setURL(String URL)
          Sets the URL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookmarkedURL

public BookmarkedURL()
Method Detail

getName

public 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.

setName

public void setName(String name)
Sets the name representing the URL.

Parameters:
name - the name.

getURL

public String getURL()
Returns the URL.

Returns:
the url.

setURL

public void setURL(String URL)
Sets the URL.

Parameters:
URL - the url.

Smack

Copyright © 2003 Jive Software.