Class IoTFieldsExtension

java.lang.Object
org.jivesoftware.smackx.iot.data.element.IoTFieldsExtension
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 IoTFieldsExtension extends Object implements org.jivesoftware.smack.packet.ExtensionElement
  • Field Details

  • Constructor Details

    • IoTFieldsExtension

      public IoTFieldsExtension(int seqNr, boolean done, NodeElement node)
    • IoTFieldsExtension

      public IoTFieldsExtension(int seqNr, boolean done, List<NodeElement> nodes)
  • Method Details

    • getSequenceNr

      public int getSequenceNr()
    • isDone

      public boolean isDone()
    • getNodes

      public List<NodeElement> getNodes()
    • 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
    • buildFor

      public static IoTFieldsExtension buildFor(int seqNr, boolean done, NodeInfo nodeInfo, List<? extends IoTDataField> data)
    • from

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