Class JsonPacketExtension

    • Method Detail

      • getNamespace

        public java.lang.String getNamespace()
        Description copied from interface: FullyQualifiedElement
        Returns the root element XML namespace.
        Returns:
        the namespace.
      • getElementName

        public java.lang.String getElementName()
        Description copied from interface: NamedElement
        Returns the root element name.
        Returns:
        the element name.
      • from

        public static JsonPacketExtension from​(Stanza packet)
        Retrieve the JSON stanza extension from the packet.
        Parameters:
        packet - TODO javadoc me please
        Returns:
        the JSON stanza extension or null.