Class CapsExtension

java.lang.Object
org.jivesoftware.smackx.caps.packet.CapsExtension
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 CapsExtension extends Object implements org.jivesoftware.smack.packet.ExtensionElement
A XEP-0115 Entity Capabilities extension.
  • Field Details

  • Constructor Details

  • 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
    • getNode

      public String getNode()
    • getVer

      public String getVer()
    • getHash

      public String getHash()
    • toXML

      public org.jivesoftware.smack.util.XmlStringBuilder toXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace)
      .
        <c xmlns='http://jabber.org/protocol/caps'
           hash='sha-1'
           node='http://code.google.com/p/exodus'
           ver='QgayPKawpkPSDYmwT/WM94uAlu0='/>
       
      Specified by:
      toXML in interface org.jivesoftware.smack.packet.Element
    • from

      public static CapsExtension from(org.jivesoftware.smack.packet.Stanza stanza)