public class SessionID extends java.lang.Object implements ExtensionElement
Modifier and Type | Class and Description |
---|---|
static class |
SessionID.Provider |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT_NAME
Element name of the stanza(/packet) extension.
|
static java.lang.String |
NAMESPACE
Namespace of the stanza(/packet) extension.
|
Constructor and Description |
---|
SessionID(java.lang.String sessionID) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getElementName()
Returns the root element name.
|
java.lang.String |
getNamespace()
Returns the root element XML namespace.
|
java.lang.String |
getSessionID() |
java.lang.String |
toXML()
Returns the XML representation of this Element.
|
public static final java.lang.String ELEMENT_NAME
public static final java.lang.String NAMESPACE
public SessionID(java.lang.String sessionID)
public java.lang.String getSessionID()
public java.lang.String getElementName()
NamedElement
getElementName
in interface NamedElement
public java.lang.String getNamespace()
ExtensionElement
getNamespace
in interface ExtensionElement