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