Class MessageCorrectExtension
java.lang.Object
org.jivesoftware.smackx.message_correct.element.MessageCorrectExtension
- All Implemented Interfaces:
Element
,ExtensionElement
,NamedElement
,XmlElement
,XmlLangElement
An Extension that implements XEP-0308: Last Message Correction
This extension is expected to be added to message stanzas. Please refer to
the XEP for more implementation guidelines.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MessageCorrectExtension
Returns the root element name.Returns the root element XML namespace.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
-
ELEMENT
The XML element name of a 'message correct' extension.- See Also:
-
NAMESPACE
The namespace that qualifies the XML element of a 'message correct' extension.- See Also:
-
QNAME
-
ID_TAG
The id tag of a 'message correct' extension.- See Also:
-
-
Constructor Details
-
MessageCorrectExtension
-
-
Method Details
-
getIdInitialMessage
-
getElementName
Description copied from interface:NamedElement
Returns the root element name.- Specified by:
getElementName
in interfaceNamedElement
- Returns:
- the element name.
-
toXML
-
getNamespace
Description copied from interface:XmlElement
Returns the root element XML namespace.- Specified by:
getNamespace
in interfaceXmlElement
- Returns:
- the namespace.
-
from
-