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()
NamedElementgetElementName in interface NamedElementpublic String getNamespace()
ExtensionElementgetNamespace in interface ExtensionElementpublic XmlStringBuilder toXML()
public static CapsExtension from(Stanza stanza)