public static class SaslStreamElements.Success extends java.lang.Object implements Nonza
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELEMENT |
| Constructor and Description |
|---|
Success(java.lang.String data)
Construct a new SASL success stream element with optional additional data for the SASL layer.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getData()
Returns additional data for the SASL layer or
null. |
java.lang.String |
getElementName()
Returns the root element name.
|
java.lang.String |
getNamespace()
Returns the root element XML namespace.
|
XmlStringBuilder |
toXML(java.lang.String enclosingNamespace)
Returns the XML representation of this Element.
|
public static final java.lang.String ELEMENT
public Success(java.lang.String data)
data - additional data for the SASL layer or nullpublic java.lang.String getData()
null.nullpublic XmlStringBuilder toXML(java.lang.String enclosingNamespace)
Elementpublic java.lang.String getNamespace()
ExtensionElementgetNamespace in interface ExtensionElementpublic java.lang.String getElementName()
NamedElementgetElementName in interface NamedElement