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
Nested ClassesModifier and TypeClassDescriptionstatic classAExtensionElementProviderfor theAttentionExtension. -
Field Summary
Fields -
Constructor Summary
Constructors -
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, waitMethods 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:NamedElementReturns the root element name.- Specified by:
getElementNamein interfaceNamedElement- Returns:
- the element name.
-
getNamespace
Description copied from interface:XmlElementReturns the root element XML namespace.- Specified by:
getNamespacein interfaceXmlElement- Returns:
- the namespace.
-
toXML
-