Class JsonPacketExtension
java.lang.Object
org.jivesoftware.smackx.json.packet.AbstractJsonPacketExtension
org.jivesoftware.smackx.json.packet.JsonPacketExtension
- All Implemented Interfaces:
org.jivesoftware.smack.packet.Element,org.jivesoftware.smack.packet.ExtensionElement,org.jivesoftware.smack.packet.NamedElement,org.jivesoftware.smack.packet.XmlElement,org.jivesoftware.smack.packet.XmlLangElement
XMPP JSON Containers as defined in XEP-0335.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic JsonPacketExtensionfrom(org.jivesoftware.smack.packet.Stanza packet) Retrieve the JSON stanza extension from the packet.Methods inherited from class org.jivesoftware.smackx.json.packet.AbstractJsonPacketExtension
getJson, toXMLMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jivesoftware.smack.packet.Element
toXML, toXMLMethods inherited from interface org.jivesoftware.smack.packet.XmlElement
getLanguage, getQName
-
Field Details
-
ELEMENT
- See Also:
-
NAMESPACE
- See Also:
-
QNAME
-
-
Constructor Details
-
JsonPacketExtension
-
-
Method Details
-
getNamespace
-
getElementName
-
from
Retrieve the JSON stanza extension from the packet.- Parameters:
packet- TODO javadoc me please- Returns:
- the JSON stanza extension or null.
-