public static class Bytestream.StreamHostUsed extends Object implements PacketExtension
Modifier and Type | Field and Description |
---|---|
static String |
ELEMENTNAME |
String |
NAMESPACE |
Constructor and Description |
---|
Bytestream.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.
|
String |
getNamespace()
Returns the root element XML namespace.
|
String |
toXML()
Returns the XML representation of the PacketExtension.
|
public static String ELEMENTNAME
public Bytestream.StreamHostUsed(String JID)
JID
- The JID of the selected stream host.public String getJID()
public String getNamespace()
PacketExtension
getNamespace
in interface PacketExtension
public String getElementName()
PacketExtension
getElementName
in interface PacketExtension
public String toXML()
PacketExtension
toXML
in interface PacketExtension