Class OfflineMessageInfo
java.lang.Object
org.jivesoftware.smackx.offline.packet.OfflineMessageInfo
- All Implemented Interfaces:
Element
,ExtensionElement
,NamedElement
,XmlElement
,XmlLangElement
OfflineMessageInfo is an extension included in the retrieved offline messages requested by
the
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.-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the XML element name of the extension sub-packet root element.Returns the XML namespace of the extension sub-packet root element.getNode()
Returns the stamp that uniquely identifies the offline message.void
Sets the stamp that uniquely identifies the offline message.toXML
(XmlEnvironment enclosingNamespace) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jivesoftware.smack.packet.XmlElement
getLanguage, getQName
-
Field Details
-
QNAME
-
-
Constructor Details
-
OfflineMessageInfo
public OfflineMessageInfo()
-
-
Method Details
-
getElementName
Returns the XML element name of the extension sub-packet root element. Always returns "offline"- Specified by:
getElementName
in interfaceNamedElement
- Returns:
- the XML element name of the stanza extension.
-
getNamespace
Returns the XML namespace of the extension sub-packet root element. According the specification the namespace is always "http://jabber.org/protocol/offline"- Specified by:
getNamespace
in interfaceXmlElement
- Returns:
- the XML namespace of the stanza extension.
-
getNode
Returns the 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.- Returns:
- the stamp that uniquely identifies the offline message.
-
setNode
Sets the 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.- Parameters:
node
- the stamp that uniquely identifies the offline message.
-
toXML
-