oracle.panama.messaging.common
Class Bookmark
java.lang.Object
|
+--java.util.Dictionary
|
+--java.util.Hashtable
|
+--oracle.panama.messaging.common.Bookmark
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Map, java.io.Serializable
- public class Bookmark
- extends java.util.Hashtable
This class can be used to create a bookmark which will be sent as OTA Settings
- Author:
- vbarmola
- See Also:
- Serialized Form
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 Eg: "Nokia 9290" |
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 |
MIME
public static final java.lang.String MIME
-
- See Also:
- Constant Field Values
BOOKMARKNAME
public static final java.lang.String BOOKMARKNAME
-
- See Also:
- Constant Field Values
BOOKMARKURL
public static final java.lang.String BOOKMARKURL
-
- See Also:
- Constant Field Values
WBXML_VERSION
public static final java.lang.String WBXML_VERSION
-
- See Also:
- Constant Field Values
VERSION_10
public static final java.lang.String VERSION_10
-
- See Also:
- Constant Field Values
VERSION_11
public static final java.lang.String VERSION_11
-
- See Also:
- Constant Field Values
PHONE_MODEL
public static final java.lang.String PHONE_MODEL
-
- See Also:
- Constant Field Values
Bookmark
public Bookmark()
- Constructor. - sets the version to WBXML 1.1
setVersion
public void setVersion(java.lang.String version)
- This method is used to set the version of the WBXML to used while sending the bookmark setting.
-
- Parameters:
version
- can be VERSION_10 (WBXML 1.0) or VERSION_11(WBXML 1.1)
setName
public void setName(java.lang.String name)
- This method is used to set the name of the bookmark.
setURL
public void setURL(java.lang.String url)
- This method is used to set the url for the bookmark.
setPhoneModel
public void setPhoneModel(java.lang.String model)
- Set the phone model Eg: "Nokia 9290"
Copyright © 2003 Oracle Corporation. All Rights Reserved.