ie.ncl.wap.push
Class Bookmark
java.lang.Object
ie.ncl.wap.push.WSPRequest
ie.ncl.wap.push.Bookmark
public class Bookmark
- extends WSPRequest
This class is used to send a Bookmark to a mobile phone.
Please note that only some models of phone support this operation,
(e.g. Nokia WAP phones).
A Bookmark consists of a Name and a URL. When a Bookmark is sent
to a mobile phone the user is prompted to save it to memory.
A Bookmark is sent to a phone using the WAP Push class.
- See Also:
WAPPush
Constructor Summary |
Bookmark(java.lang.String name,
java.net.URL url)
Create a Bookmark that can be sent to a mobile phone. |
Method Summary |
java.lang.String |
getName()
Get the name of this Bookmark. |
java.net.URL |
getURL()
Get the URL of this Bookmark. |
java.lang.String |
getXml()
|
Methods inherited from class ie.ncl.wap.push.WSPRequest |
encode, encodeToSms, encodeToSms, encodeToSms, encodeToSms, entityEncode, generateMac, getAttributes, getContentType, getEncoding, getHeader, getHeaderNames, getNetworkPin, getTransactionID, getUserPin, main, setAttributes, setEncoding, setHeader, setNetworkPin, setTransactionID, setUserPin, toSmartMessage, toSmartMessage, toSmartMessage, toSmartMessage |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Bookmark
public Bookmark(java.lang.String name,
java.net.URL url)
- Create a Bookmark that can be sent to a mobile phone.
A Bookmark consists of a name and a URL.
To send the Bookmark use the WAP Push class.
- See Also:
WAPPush
getXml
public java.lang.String getXml()
- Specified by:
getXml
in class WSPRequest
getName
public java.lang.String getName()
- Get the name of this Bookmark.
getURL
public java.net.URL getURL()
- Get the URL of this Bookmark.