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(java.lang.String enclosingNamespace) |
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.NamedElementpublic java.lang.String getNamespace()
getNamespace in interface org.jivesoftware.smack.packet.ExtensionElementpublic org.jivesoftware.smack.util.XmlStringBuilder toXML(java.lang.String enclosingNamespace)
toXML in interface org.jivesoftware.smack.packet.Elementpublic 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)