Package org.jivesoftware.smack.sm.packet
Class StreamManagement.Failed
- java.lang.Object
-
- org.jivesoftware.smack.sm.packet.StreamManagement.Failed
-
- All Implemented Interfaces:
Element
,FullyQualifiedElement
,NamedElement
,Nonza
,TopLevelStreamElement
,XmlLangElement
- Enclosing class:
- StreamManagement
public static class StreamManagement.Failed extends java.lang.Object implements Nonza
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ELEMENT
-
Constructor Summary
Constructors Constructor Description Failed()
Failed(StanzaError.Condition condition, java.util.List<StanzaErrorTextElement> textElements)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getElementName()
Returns the root element name.java.lang.String
getNamespace()
Returns the root element XML namespace.StanzaError.Condition
getStanzaErrorCondition()
java.util.List<StanzaErrorTextElement>
getTextElements()
java.lang.CharSequence
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
-
-
Constructor Detail
-
Failed
public Failed()
-
Failed
public Failed(StanzaError.Condition condition, java.util.List<StanzaErrorTextElement> textElements)
-
-
Method Detail
-
getStanzaErrorCondition
public StanzaError.Condition getStanzaErrorCondition()
-
getTextElements
public java.util.List<StanzaErrorTextElement> getTextElements()
-
toXML
public java.lang.CharSequence toXML(XmlEnvironment enclosingNamespace)
-
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.
-
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.
-
-