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