public class AttentionExtension extends Object implements PacketExtension
Modifier and Type | Class and Description |
---|---|
static class |
AttentionExtension.Provider
A
PacketExtensionProvider for the AttentionExtension . |
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
AttentionExtension() |
Modifier and Type | Method and Description |
---|---|
String |
getElementName()
Returns the root element name.
|
String |
getNamespace()
Returns the root element XML namespace.
|
String |
toXML()
Returns the XML representation of the PacketExtension.
|
public static final String ELEMENT_NAME
public static final String NAMESPACE
public AttentionExtension()
public String getElementName()
PacketExtension
getElementName
in interface PacketExtension
public String getNamespace()
PacketExtension
getNamespace
in interface PacketExtension
public String toXML()
PacketExtension
toXML
in interface PacketExtension