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 java.lang.Object implements org.jivesoftware.smack.packet.ExtensionElementA 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:
- XEP-0224: Attention
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAttentionExtension.ProviderAExtensionElementProviderfor theAttentionExtension.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringELEMENT_NAMEThe XML element name of an 'attention' extension.static java.lang.StringNAMESPACEThe namespace that qualifies the XML element of an 'attention' extension.static javax.xml.namespace.QNameQNAME
-
Constructor Summary
Constructors Constructor Description AttentionExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetElementName()java.lang.StringgetNamespace()org.jivesoftware.smack.util.XmlStringBuildertoXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace)
-
-
-
Field Detail
-
ELEMENT_NAME
public static final java.lang.String ELEMENT_NAME
The XML element name of an 'attention' extension.- See Also:
- Constant Field Values
-
NAMESPACE
public static final java.lang.String NAMESPACE
The namespace that qualifies the XML element of an 'attention' extension.- See Also:
- Constant Field Values
-
QNAME
public static final javax.xml.namespace.QName QNAME
-
-
Method Detail
-
getElementName
public java.lang.String getElementName()
- Specified by:
getElementNamein interfaceorg.jivesoftware.smack.packet.NamedElement
-
getNamespace
public java.lang.String getNamespace()
- Specified by:
getNamespacein interfaceorg.jivesoftware.smack.packet.XmlElement
-
toXML
public org.jivesoftware.smack.util.XmlStringBuilder toXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace)
- Specified by:
toXMLin interfaceorg.jivesoftware.smack.packet.Element
-
-