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(Jid JID)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getElementName()
Returns the root element name.
|
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(Jid JID)
JID
- The JID of the selected stream host.public Jid getJID()
public java.lang.String getElementName()
NamedElement
getElementName
in interface NamedElement
public XmlStringBuilder toXML()
Element