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