Oracle Application Server Wireless Java API Reference
B10400-01

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

Field Summary
static java.lang.String BOOKMARKNAME
           
static java.lang.String BOOKMARKURL
           
static java.lang.String MIME
           
static java.lang.String PHONE_MODEL
           
static java.lang.String VERSION_10
           
static java.lang.String VERSION_11
           
static java.lang.String 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 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

 

Field Detail

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
Constructor Detail

Bookmark

public Bookmark()
Constructor. - sets the version to WBXML 1.1
Method Detail

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"

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.