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()
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 null
public java.lang.String getData()
null
.null
public XmlStringBuilder toXML()
Element
public java.lang.String getNamespace()
ExtensionElement
getNamespace
in interface ExtensionElement
public java.lang.String getElementName()
NamedElement
getElementName
in interface NamedElement