public class CapsExtension extends Object implements PacketExtension
Constructor and Description |
---|
CapsExtension(String node,
String version,
String hash) |
Modifier and Type | Method and Description |
---|---|
String |
getElementName()
Returns the root element name.
|
String |
getHash() |
String |
getNamespace()
Returns the root element XML namespace.
|
String |
getNode() |
String |
getVer() |
CharSequence |
toXML()
Returns the XML representation of the PacketExtension.
|
public CapsExtension(String node, String version, String hash)
public String getElementName()
PacketExtension
getElementName
in interface PacketExtension
public String getNamespace()
PacketExtension
getNamespace
in interface PacketExtension
public CharSequence toXML()
PacketExtension
toXML
in interface PacketExtension