mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-04 19:25:58 +01:00
e96b6e7e38
SMACK-136 - Add support for Bookmark Storage. git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3866 b35dd754-fafc-0310-a699-88a17e54d16e
57 lines
1.1 KiB
Java
57 lines
1.1 KiB
Java
/**
|
|
* $Revision$
|
|
* $Date$
|
|
*
|
|
* Copyright (C) 1999-2005 Jive Software. All rights reserved.
|
|
* This software is the proprietary information of Jive Software. Use is subject to license terms.
|
|
*/
|
|
package org.jivesoftware.smackx.bookmark;
|
|
|
|
/**
|
|
* Respresents one instance of a URL defined using JEP-0048 Bookmark Storage JEP.
|
|
*
|
|
* @author Derek DeMoro
|
|
*/
|
|
public class BookmarkedURL {
|
|
|
|
private String name;
|
|
private String URL;
|
|
|
|
/**
|
|
* Returns the name representing the URL (eg. Jive Software). This can be used in as a label, or
|
|
* identifer in applications.
|
|
*
|
|
* @return the name reprenting the URL.
|
|
*/
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
/**
|
|
* Sets the name representing the URL.
|
|
*
|
|
* @param name the name.
|
|
*/
|
|
public void setName(String name) {
|
|
this.name = name;
|
|
}
|
|
|
|
/**
|
|
* Returns the URL.
|
|
*
|
|
* @return the url.
|
|
*/
|
|
public String getURL() {
|
|
return URL;
|
|
}
|
|
|
|
/**
|
|
* Sets the URL.
|
|
*
|
|
* @param URL the url.
|
|
*/
|
|
public void setURL(String URL) {
|
|
this.URL = URL;
|
|
}
|
|
|
|
}
|