Class Failure
- java.lang.Object
-
- org.jivesoftware.smack.compress.packet.Failure
-
- All Implemented Interfaces:
Element
,FullyQualifiedElement
,NamedElement
,Nonza
,TopLevelStreamElement
,XmlLangElement
public class Failure extends java.lang.Object implements Nonza
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Failure.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.CompressFailureError
getCompressFailureError()
java.lang.String
getElementName()
Returns the root element name.java.lang.String
getNamespace()
Returns the root element XML namespace.StanzaError
getStanzaError()
XmlStringBuilder
toXML(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 java.lang.String ELEMENT
- See Also:
- Constant Field Values
-
NAMESPACE
public static final java.lang.String NAMESPACE
- See Also:
- Constant Field Values
-
QNAME
public static final javax.xml.namespace.QName QNAME
-
-
Constructor Detail
-
Failure
public Failure(Failure.CompressFailureError compressFailureError)
-
Failure
public Failure(Failure.CompressFailureError compressFailureError, StanzaError stanzaError)
-
-
Method Detail
-
getElementName
public java.lang.String getElementName()
Description copied from interface:NamedElement
Returns the root element name.- Specified by:
getElementName
in interfaceNamedElement
- Returns:
- the element name.
-
getNamespace
public java.lang.String getNamespace()
Description copied from interface:FullyQualifiedElement
Returns the root element XML namespace.- Specified by:
getNamespace
in interfaceFullyQualifiedElement
- Returns:
- the namespace.
-
getCompressFailureError
public Failure.CompressFailureError getCompressFailureError()
-
getStanzaError
public StanzaError getStanzaError()
-
toXML
public XmlStringBuilder toXML(XmlEnvironment enclosingNamespace)
-
-