|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.objectxp.msg.Message
com.objectxp.msg.SmsMessage
com.objectxp.msg.ota.OTAMessage
com.objectxp.msg.ota.Bookmark
public class Bookmark
This class may be used to send OTA Browser bookmarks using WAP PUSH over SMS. The browser bookmarks are used to provide handsets with bookmarks of any kind that can be used for browsing.
| Field Summary |
|---|
| Fields inherited from class com.objectxp.msg.SmsMessage |
|---|
CLASS_0, CLASS_1, CLASS_2, CLASS_3, DC_8BIT, DC_DEFAULT, DC_GROUP_DATA, DC_GROUP_GENERAL, DC_GROUP_MSG_WAITING_DISCARD, DC_GROUP_MSG_WAITING_STORE, DC_UCS2, INDICATION_ACTIVE, INDICATION_INACTIVE, INDICATION_TYPE_EMAIL, INDICATION_TYPE_FAX, INDICATION_TYPE_OTHER, INDICATION_TYPE_VOICEMAIL, NO_CLASS |
| Fields inherited from class com.objectxp.msg.Message |
|---|
ACK_TIME, MT_BINARY, MT_STATUS, MT_TEXT, SENDER_TYPE_ALPHA, SENDER_TYPE_GUESS, SENDER_TYPE_NUMBER |
| Constructor Summary | |
|---|---|
Bookmark(java.lang.String name,
java.lang.String url)
Constructs a OTA bookmark with the given name and refering to the given URL. |
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
Get the Name of this Bookmark |
java.lang.String |
getURL()
Get the URL of this Bookmark |
void |
setName(java.lang.String name)
Set the Name of this Bookmark |
void |
setURL(java.lang.String url)
Set the URL of this Bookmark. |
| Methods inherited from class com.objectxp.msg.ota.OTAMessage |
|---|
buildParts, buildParts, getParts, toString |
| Methods inherited from class com.objectxp.msg.Message |
|---|
clone, getProperty, getSenderType, getTimestamp, setID, setProperty, setSenderType |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Bookmark(java.lang.String name,
java.lang.String url)
throws java.lang.IllegalArgumentException
name - (max 50 bytes)url - (max 255 bytes)
java.lang.IllegalArgumentException - if name or URL are either null or exceed
the allowed lengthBrowserSettings| Method Detail |
|---|
public java.lang.String getName()
public java.lang.String getURL()
public void setName(java.lang.String name)
throws java.lang.IllegalArgumentException
name - the name (max length: 50)
java.lang.IllegalArgumentException - if the name is null or its length
exceeds 50 characters
public void setURL(java.lang.String url)
throws java.lang.IllegalArgumentException
url - the URL (max length: 255)
java.lang.IllegalArgumentException - if the URL is null or its length
exceeds 255 characters
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||