public class AliasPacketExtension extends Object implements org.jivesoftware.smack.packet.PacketExtension
| Modifier and Type | Field and Description |
|---|---|
static String |
ALIAS_ATTRIBUTE_NAME
The alias elements attributes (child element) name.
|
static String |
ALIAS_ELEMENT_NAME
The alias elements name.
|
static String |
ALIAS_NAMESPACE
The alias elements namespace.
|
| Constructor and Description |
|---|
AliasPacketExtension()
Empty constructor needed for introspection.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getElementName() |
String |
getNamespace() |
String |
getValue()
Returns the alias.
|
void |
setValue(String value)
Sets the alias.
|
String |
toXML() |
public static final String ALIAS_ELEMENT_NAME
public static final String ALIAS_NAMESPACE
public static final String ALIAS_ATTRIBUTE_NAME
public AliasPacketExtension()
public String getElementName()
getElementName in interface org.jivesoftware.smack.packet.PacketExtensionpublic String getNamespace()
getNamespace in interface org.jivesoftware.smack.packet.PacketExtensionpublic String toXML()
toXML in interface org.jivesoftware.smack.packet.PacketExtensionCopyright © 2019 Communote team. All rights reserved.