Class Failure
- java.lang.Object
-
- org.jivesoftware.smack.compress.packet.Failure
-
- All Implemented Interfaces:
Element,FullyQualifiedElement,NamedElement,Nonza,TopLevelStreamElement,XmlLangElement
public class Failure extends Object implements Nonza
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFailure.CompressFailureError
-
Constructor Summary
Constructors Constructor Description Failure(Failure.CompressFailureError compressFailureError)Failure(Failure.CompressFailureError compressFailureError, StanzaError stanzaError)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Failure.CompressFailureErrorgetCompressFailureError()StringgetElementName()Returns the root element name.StringgetNamespace()Returns the root element XML namespace.StanzaErrorgetStanzaError()XmlStringBuildertoXML(XmlEnvironment enclosingNamespace)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jivesoftware.smack.packet.FullyQualifiedElement
getLanguage, getQName
-
-
-
-
Field Detail
-
ELEMENT
public static final String ELEMENT
- See Also:
- Constant Field Values
-
NAMESPACE
public static final String NAMESPACE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Failure
public Failure(Failure.CompressFailureError compressFailureError)
-
Failure
public Failure(Failure.CompressFailureError compressFailureError, StanzaError stanzaError)
-
-
Method Detail
-
getElementName
public String getElementName()
Description copied from interface:NamedElementReturns the root element name.- Specified by:
getElementNamein interfaceNamedElement- Returns:
- the element name.
-
getNamespace
public String getNamespace()
Description copied from interface:FullyQualifiedElementReturns the root element XML namespace.- Specified by:
getNamespacein interfaceFullyQualifiedElement- Returns:
- the namespace.
-
getCompressFailureError
public Failure.CompressFailureError getCompressFailureError()
-
getStanzaError
public StanzaError getStanzaError()
-
toXML
public XmlStringBuilder toXML(XmlEnvironment enclosingNamespace)
-
-