Class AttentionExtension

java.lang.Object
org.jivesoftware.smackx.attention.packet.AttentionExtension
All Implemented Interfaces:
org.jivesoftware.smack.packet.Element, org.jivesoftware.smack.packet.ExtensionElement, org.jivesoftware.smack.packet.NamedElement, org.jivesoftware.smack.packet.XmlElement, org.jivesoftware.smack.packet.XmlLangElement

public class AttentionExtension extends Object implements org.jivesoftware.smack.packet.ExtensionElement
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:
  • Field Details

    • ELEMENT_NAME

      public static final String ELEMENT_NAME
      The XML element name of an 'attention' extension.
      See Also:
    • NAMESPACE

      public static final String NAMESPACE
      The namespace that qualifies the XML element of an 'attention' extension.
      See Also:
    • QNAME

      public static final QName QNAME
  • Constructor Details

    • AttentionExtension

      public AttentionExtension()
  • Method Details

    • getElementName

      public String getElementName()
      Specified by:
      getElementName in interface org.jivesoftware.smack.packet.NamedElement
    • getNamespace

      public String getNamespace()
      Specified by:
      getNamespace in interface org.jivesoftware.smack.packet.XmlElement
    • toXML

      public org.jivesoftware.smack.util.XmlStringBuilder toXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace)
      Specified by:
      toXML in interface org.jivesoftware.smack.packet.Element