public static class Bytestream.StreamHostUsed extends java.lang.Object implements NamedElement
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELEMENTNAME |
| Constructor and Description |
|---|
StreamHostUsed(org.jxmpp.jid.Jid JID)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getElementName()
Returns the root element name.
|
org.jxmpp.jid.Jid |
getJID()
Returns the JID of the selected stream host.
|
XmlStringBuilder |
toXML()
Returns the XML representation of this Element.
|
public static java.lang.String ELEMENTNAME
public StreamHostUsed(org.jxmpp.jid.Jid JID)
JID - The JID of the selected stream host.public org.jxmpp.jid.Jid getJID()
public java.lang.String getElementName()
NamedElementgetElementName in interface NamedElementpublic XmlStringBuilder toXML()
Element