Class ServerStanzaError
- java.lang.Object
-
- rocks.xmpp.core.stanza.model.StanzaError
-
- rocks.xmpp.core.stanza.model.server.ServerStanzaError
-
- All Implemented Interfaces:
LanguageElement
public final class ServerStanzaError extends StanzaError
A stanza error explicitly bound to thejabber:servernamespace. This class has a@XmlRootElementannotation, so that it can be used outside the scope of a stanza, e.g. in XEP-0220: Server Dialback.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class rocks.xmpp.core.stanza.model.StanzaError
StanzaError.Type
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServerStanzaErrorfrom(StanzaError e)Creates a stanza error in thejabber:servernamespace from an unqualified stanza error.-
Methods inherited from class rocks.xmpp.core.stanza.model.StanzaError
getBy, getCondition, getExtension, getLanguage, getText, getType, toString
-
-
-
-
Method Detail
-
from
public static ServerStanzaError from(StanzaError e)
Creates a stanza error in thejabber:servernamespace from an unqualified stanza error.- Parameters:
e- The stanza error.- Returns:
- The stanza error in the
jabber:servernamespace.
-
-