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
FieldsFields inherited from class org.jivesoftware.smack.packet.AbstractError
descriptiveTexts, extensions, textNamespace -
Constructor Summary
ConstructorsConstructorDescriptionSASLFailure(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, getExtensionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jivesoftware.smack.sasl.packet.SaslNonza
getNamespaceMethods 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:NamedElementReturns the root element name.- Specified by:
getElementNamein interfaceNamedElement- Returns:
- the element name.
-