Class SaslNonza.SASLFailure
java.lang.Object
org.jivesoftware.smack.packet.AbstractError
org.jivesoftware.smack.sasl.packet.SaslNonza.SASLFailure
- All Implemented Interfaces:
Element
,NamedElement
,Nonza
,TopLevelStreamElement
,XmlElement
,XmlLangElement
,SaslNonza
- Enclosing interface:
- SaslNonza
A SASL failure stream element, also called "SASL Error".
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jivesoftware.smack.packet.AbstractError
AbstractError.Builder<B extends AbstractError.Builder<B>>
Nested classes/interfaces inherited from interface org.jivesoftware.smack.sasl.packet.SaslNonza
SaslNonza.AuthMechanism, SaslNonza.Challenge, SaslNonza.Response, SaslNonza.SASLFailure, SaslNonza.Success
-
Field Summary
Fields inherited from class org.jivesoftware.smack.packet.AbstractError
descriptiveTexts, extensions, textNamespace
-
Constructor Summary
ConstructorDescriptionSASLFailure
(String saslError) SASLFailure
(String saslError, Map<String, String> descriptiveTexts) -
Method Summary
Modifier and TypeMethodDescriptionReturns the root element name.Get the SASL related error condition.Get the SASL error as String.toString()
toXML
(XmlEnvironment enclosingNamespace) Methods inherited from class org.jivesoftware.smack.packet.AbstractError
addDescriptiveTextsAndExtensions, getDescriptiveText, getDescriptiveText, getExtension
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.jivesoftware.smack.sasl.packet.SaslNonza
getNamespace
Methods inherited from interface org.jivesoftware.smack.packet.XmlElement
getLanguage, getQName
-
Field Details
-
ELEMENT
- See Also:
-
QNAME
-
-
Constructor Details
-
SASLFailure
-
SASLFailure
-
-
Method Details
-
getSASLError
Get the SASL related error condition.- Returns:
- the SASL related error condition.
-
getSASLErrorString
Get the SASL error as String.- Returns:
- the SASL error as String
-
toXML
-
toString
-
getElementName
Description copied from interface:NamedElement
Returns the root element name.- Specified by:
getElementName
in interfaceNamedElement
- Returns:
- the element name.
-