public class IoTFieldsExtension
extends java.lang.Object
implements org.jivesoftware.smack.packet.ExtensionElement
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT |
static java.lang.String |
NAMESPACE |
Constructor and Description |
---|
IoTFieldsExtension(int seqNr,
boolean done,
java.util.List<NodeElement> nodes) |
IoTFieldsExtension(int seqNr,
boolean done,
NodeElement node) |
Modifier and Type | Method and Description |
---|---|
static IoTFieldsExtension |
buildFor(int seqNr,
boolean done,
NodeInfo nodeInfo,
java.util.List<? extends IoTDataField> data) |
static IoTFieldsExtension |
from(org.jivesoftware.smack.packet.Message message) |
java.lang.String |
getElementName() |
java.lang.String |
getNamespace() |
java.util.List<NodeElement> |
getNodes() |
int |
getSequenceNr() |
boolean |
isDone() |
org.jivesoftware.smack.util.XmlStringBuilder |
toXML() |
public static final java.lang.String ELEMENT
public static final java.lang.String NAMESPACE
public IoTFieldsExtension(int seqNr, boolean done, NodeElement node)
public IoTFieldsExtension(int seqNr, boolean done, java.util.List<NodeElement> nodes)
public int getSequenceNr()
public boolean isDone()
public java.util.List<NodeElement> getNodes()
public java.lang.String getElementName()
getElementName
in interface org.jivesoftware.smack.packet.NamedElement
public java.lang.String getNamespace()
getNamespace
in interface org.jivesoftware.smack.packet.ExtensionElement
public org.jivesoftware.smack.util.XmlStringBuilder toXML()
toXML
in interface org.jivesoftware.smack.packet.Element
public static IoTFieldsExtension buildFor(int seqNr, boolean done, NodeInfo nodeInfo, java.util.List<? extends IoTDataField> data)
public static IoTFieldsExtension from(org.jivesoftware.smack.packet.Message message)