public class IoTFieldsExtension extends java.lang.Object implements 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(Message message) |
java.lang.String |
getElementName()
Returns the root element name.
|
java.lang.String |
getNamespace()
Returns the root element XML namespace.
|
java.util.List<NodeElement> |
getNodes() |
int |
getSequenceNr() |
boolean |
isDone() |
XmlStringBuilder |
toXML()
Returns the XML representation of this Element.
|
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()
NamedElement
getElementName
in interface NamedElement
public java.lang.String getNamespace()
ExtensionElement
getNamespace
in interface ExtensionElement
public XmlStringBuilder toXML()
Element
public static IoTFieldsExtension buildFor(int seqNr, boolean done, NodeInfo nodeInfo, java.util.List<? extends IoTDataField> data)
public static IoTFieldsExtension from(Message message)