java.lang.Object
org.jivesoftware.smackx.iot.control.element.SetData
All Implemented Interfaces:
org.jivesoftware.smack.packet.Element, org.jivesoftware.smack.packet.NamedElement, org.jivesoftware.smack.packet.XmlElement, org.jivesoftware.smack.packet.XmlLangElement
Direct Known Subclasses:
SetBoolData, SetDoubleData, SetIntData, SetLongData

public abstract class SetData extends Object implements org.jivesoftware.smack.packet.XmlElement
  • Constructor Details

  • Method Details

    • getName

      public final String getName()
    • getValue

      public final String getValue()
    • getType

      public final SetData.Type getType()
    • getElementName

      public final String getElementName()
      Returns the root element name.
      Specified by:
      getElementName in interface org.jivesoftware.smack.packet.NamedElement
      Returns:
      the element name.
    • getNamespace

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

      public final org.jivesoftware.smack.util.XmlStringBuilder toXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace)
      Returns the XML representation of this Element.
      Specified by:
      toXML in interface org.jivesoftware.smack.packet.Element
      Returns:
      the stanza extension as XML.