java.lang.Object
org.jivesoftware.smackx.iot.provisioning.element.Friend
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

public class Friend extends Object implements org.jivesoftware.smack.packet.ExtensionElement
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
    static final QName
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Friend(org.jxmpp.jid.BareJid friend)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Friend
    from(org.jivesoftware.smack.packet.Message message)
     
     
    org.jxmpp.jid.BareJid
     
     
    org.jivesoftware.smack.util.XmlStringBuilder
    toXML(org.jivesoftware.smack.packet.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.Element

    toXML, toXML

    Methods inherited from interface org.jivesoftware.smack.packet.XmlElement

    getLanguage, getQName
  • Field Details

  • Constructor Details

    • Friend

      public Friend(org.jxmpp.jid.BareJid friend)
  • Method Details

    • getElementName

      public String getElementName()
      Specified by:
      getElementName in interface org.jivesoftware.smack.packet.NamedElement
    • getNamespace

      public String getNamespace()
      Specified by:
      getNamespace in interface org.jivesoftware.smack.packet.XmlElement
    • toXML

      public org.jivesoftware.smack.util.XmlStringBuilder toXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace)
      Specified by:
      toXML in interface org.jivesoftware.smack.packet.Element
    • getFriend

      public org.jxmpp.jid.BareJid getFriend()
    • from

      public static Friend from(org.jivesoftware.smack.packet.Message message)