|
Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jivesoftware.smackx.packet.AttentionExtension
public class AttentionExtension
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.
| Nested Class Summary | |
|---|---|
static class |
AttentionExtension.Provider
A PacketExtensionProvider for the AttentionExtension. |
| Field Summary | |
|---|---|
static String |
ELEMENT_NAME
The XML element name of an 'attention' extension. |
static String |
NAMESPACE
The namespace that qualifies the XML element of an 'attention' extension. |
| Constructor Summary | |
|---|---|
AttentionExtension()
|
|
| Method Summary | |
|---|---|
String |
getElementName()
Returns the root element name. |
String |
getNamespace()
Returns the root element XML namespace. |
String |
toXML()
Returns the XML representation of the PacketExtension. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ELEMENT_NAME
public static final String NAMESPACE
| Constructor Detail |
|---|
public AttentionExtension()
| Method Detail |
|---|
public String getElementName()
PacketExtension
getElementName in interface PacketExtensionpublic String getNamespace()
PacketExtension
getNamespace in interface PacketExtensionpublic String toXML()
PacketExtension
toXML in interface PacketExtension
|
Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||