public class OfflineMessageInfo extends Object implements PacketExtension
OfflineMessageManager
. This extension includes a stamp
that uniquely identifies the offline message. This stamp may be used for deleting the offline
message. The stamp may be of the form UTC timestamps but it is not required to have that format.Modifier and Type | Class and Description |
---|---|
static class |
OfflineMessageInfo.Provider |
Constructor and Description |
---|
OfflineMessageInfo() |
Modifier and Type | Method and Description |
---|---|
String |
getElementName()
Returns the XML element name of the extension sub-packet root element.
|
String |
getNamespace()
Returns the XML namespace of the extension sub-packet root element.
|
String |
getNode()
Returns the stamp that uniquely identifies the offline message.
|
void |
setNode(String node)
Sets the stamp that uniquely identifies the offline message.
|
String |
toXML()
Returns the XML representation of the PacketExtension.
|
public OfflineMessageInfo()
public String getElementName()
getElementName
in interface PacketExtension
public String getNamespace()
getNamespace
in interface PacketExtension
public String getNode()
public void setNode(String node)
node
- the stamp that uniquely identifies the offline message.public String toXML()
PacketExtension
toXML
in interface PacketExtension