public class Failure extends Object implements Nonza
Modifier and Type | Class and Description |
---|---|
static class |
Failure.CompressFailureError |
Modifier and Type | Field and Description |
---|---|
static String |
ELEMENT |
static String |
NAMESPACE |
Constructor and Description |
---|
Failure(Failure.CompressFailureError compressFailureError,
StanzaError stanzaError) |
Modifier and Type | Method and Description |
---|---|
String |
getElementName()
Returns the root element name.
|
String |
getNamespace()
Returns the root element XML namespace.
|
XmlStringBuilder |
toXML(String enclosingNamespace)
Returns the XML representation of this Element.
|
public static final String ELEMENT
public static final String NAMESPACE
public Failure(Failure.CompressFailureError compressFailureError, StanzaError stanzaError)
public String getElementName()
NamedElement
getElementName
in interface NamedElement
public String getNamespace()
FullyQualifiedElement
getNamespace
in interface FullyQualifiedElement
public XmlStringBuilder toXML(String enclosingNamespace)
Element