Class AttentionExtension
java.lang.Object
org.jivesoftware.smackx.attention.packet.AttentionExtension
- All Implemented Interfaces:
Element
,ExtensionElement
,NamedElement
,XmlElement
,XmlLangElement
A PacketExtension that implements XEP-0224: Attention
This extension is expected to be added to message stanzas of type 'headline.'
Please refer to the XEP for more implementation guidelines.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
AExtensionElementProvider
for theAttentionExtension
. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns 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_NAME
The XML element name of an 'attention' extension.- See Also:
-
NAMESPACE
The namespace that qualifies the XML element of an 'attention' extension.- See Also:
-
QNAME
-
-
Constructor Details
-
AttentionExtension
public AttentionExtension()
-
-
Method Details
-
getElementName
Description copied from interface:NamedElement
Returns the root element name.- Specified by:
getElementName
in interfaceNamedElement
- Returns:
- the element name.
-
getNamespace
Description copied from interface:XmlElement
Returns the root element XML namespace.- Specified by:
getNamespace
in interfaceXmlElement
- Returns:
- the namespace.
-
toXML
-