|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
java.util.Dictionary
java.util.Hashtable
oracle.panama.messaging.common.Bookmark
This class allows developers to create a bookmark object which is used to send Bookmarks as OTA Settings.
Eg: Bookmark bm = new Bookmark();
// do required set operations
bm.setName(..);
bm.setURL(..);
..
..
//set the bookmark as Message content
Message msg = new Message();
msg.setContent(bm);
message.setContentType(ContentTypes.BOOKMARK);
Message, Serialized Form| Field Summary | |
static java.lang.String |
BOOKMARKNAMEKey for Bookmark name. |
static java.lang.String |
BOOKMARKURLKey for Bookmark url. |
static java.lang.String |
MIMEThe MIME type for Bookmark. |
static java.lang.String |
PHONE_MODELKey for phone model. |
static java.lang.String |
VERSION_10Allowed value for WBXML version. |
static java.lang.String |
VERSION_11Allowed value for WBXML version. |
static java.lang.String |
WBXML_VERSIONKey for WBXML version. |
| Constructor Summary | |
Bookmark()Constructor. |
|
| Method Summary | |
void |
setName(java.lang.String name)This method is used to set the name of the bookmark. |
void |
setPhoneModel(java.lang.String model)Set the phone model. |
void |
setURL(java.lang.String url)This method is used to set the url for the bookmark. |
void |
setVersion(java.lang.String version)This method is used to set the version of the WBXML to used while sending the bookmark setting. |
| Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, remove, size, toString, values |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String BOOKMARKNAME
public static final java.lang.String BOOKMARKURL
public static final java.lang.String MIME
public static final java.lang.String PHONE_MODEL
public static final java.lang.String VERSION_10
public static final java.lang.String VERSION_11
public static final java.lang.String WBXML_VERSION
| Constructor Detail |
public Bookmark()
| Method Detail |
public void setName(java.lang.String name)
public void setPhoneModel(java.lang.String model)
public void setURL(java.lang.String url)
public void setVersion(java.lang.String version)
version - can be VERSION_10 (WBXML 1.0) or VERSION_11(WBXML 1.1)
|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||