public static class SaslStreamElements.SASLFailure extends AbstractError implements Nonza
AbstractError.Builder<B extends AbstractError.Builder<B>>
Modifier and Type | Field and Description |
---|---|
static String |
ELEMENT |
descriptiveTexts, extensions, textNamespace
Constructor and Description |
---|
SASLFailure(String saslError) |
SASLFailure(String saslError,
Map<String,String> descriptiveTexts) |
Modifier and Type | Method and Description |
---|---|
String |
getElementName()
Returns the root element name.
|
String |
getNamespace()
Returns the root element XML namespace.
|
SASLError |
getSASLError()
Get the SASL related error condition.
|
String |
getSASLErrorString()
Get the SASL error as String.
|
String |
toString() |
XmlStringBuilder |
toXML(String enclosingNamespace)
Returns the XML representation of this Element.
|
addDescriptiveTextsAndExtensions, getDescriptiveText, getDescriptiveText, getExtension
public static final String ELEMENT
public SASLFailure(String saslError)
public SASLFailure(String saslError, Map<String,String> descriptiveTexts)
public SASLError getSASLError()
public String getSASLErrorString()
public XmlStringBuilder toXML(String enclosingNamespace)
Element
public String getNamespace()
ExtensionElement
getNamespace
in interface ExtensionElement
public String getElementName()
NamedElement
getElementName
in interface NamedElement