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 String getElementName()
NamedElementgetElementName in interface NamedElementpublic String getNamespace()
ExtensionElementgetNamespace in interface ExtensionElementpublic String getNode()
public String getVer()
public String getHash()
public XmlStringBuilder toXML()
public static CapsExtension from(Stanza stanza)
Copyright © 2021. All rights reserved.