public class CapsExtension extends Object implements ExtensionElement
Modifier and Type | Field and Description |
---|---|
static String |
ELEMENT |
static String |
NAMESPACE |
Constructor and Description |
---|
CapsExtension(String node,
String version,
String hash) |
Modifier and Type | Method and Description |
---|---|
static CapsExtension |
from(Stanza stanza) |
String |
getElementName()
Returns the root element name.
|
String |
getHash() |
String |
getNamespace()
Returns the root element XML namespace.
|
String |
getNode() |
String |
getVer() |
XmlStringBuilder |
toXML()
|
public static final String NAMESPACE
public static final String ELEMENT
public CapsExtension(String node, String version, String hash)
public String getElementName()
NamedElement
getElementName
in interface NamedElement
public String getNamespace()
ExtensionElement
getNamespace
in interface ExtensionElement
public XmlStringBuilder toXML()
public static CapsExtension from(Stanza stanza)