public class UserID extends Object implements PacketExtension
| Modifier and Type | Class and Description |
|---|---|
static class |
UserID.Provider |
| Modifier and Type | Field and Description |
|---|---|
static String |
ELEMENT_NAME
Element name of the packet extension.
|
static String |
NAMESPACE
Namespace of the packet extension.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getElementName()
Returns the root element name.
|
String |
getNamespace()
Returns the root element XML namespace.
|
String |
getUserID() |
String |
toXML()
Returns the XML representation of the PacketExtension.
|
public static final String ELEMENT_NAME
public static final String NAMESPACE
public String getElementName()
PacketExtensiongetElementName in interface PacketExtensionpublic String getNamespace()
PacketExtensiongetNamespace in interface PacketExtensionpublic String toXML()
PacketExtensiontoXML in interface PacketExtension