public class Failure extends java.lang.Object implements Nonza
| Modifier and Type | Class and Description |
|---|---|
static class |
Failure.CompressFailureError |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELEMENT |
static java.lang.String |
NAMESPACE |
static javax.xml.namespace.QName |
QNAME |
| Constructor and Description |
|---|
Failure(Failure.CompressFailureError compressFailureError) |
Failure(Failure.CompressFailureError compressFailureError,
StanzaError stanzaError) |
| Modifier and Type | Method and 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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLanguage, getQNamepublic static final java.lang.String ELEMENT
public static final java.lang.String NAMESPACE
public static final javax.xml.namespace.QName QNAME
public Failure(Failure.CompressFailureError compressFailureError)
public Failure(Failure.CompressFailureError compressFailureError, StanzaError stanzaError)
public java.lang.String getElementName()
NamedElementgetElementName in interface NamedElementpublic java.lang.String getNamespace()
FullyQualifiedElementgetNamespace in interface FullyQualifiedElementpublic Failure.CompressFailureError getCompressFailureError()
public StanzaError getStanzaError()
public XmlStringBuilder toXML(XmlEnvironment enclosingNamespace)