public class IoTFieldsExtension extends Object implements ExtensionElement
Modifier and Type | Field and Description |
---|---|
static String |
ELEMENT |
static String |
NAMESPACE |
Constructor and Description |
---|
IoTFieldsExtension(int seqNr,
boolean done,
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,
List<? extends IoTDataField> data) |
static IoTFieldsExtension |
from(Message message) |
String |
getElementName()
Returns the root element name.
|
String |
getNamespace()
Returns the root element XML namespace.
|
List<NodeElement> |
getNodes() |
int |
getSequenceNr() |
boolean |
isDone() |
XmlStringBuilder |
toXML(String enclosingNamespace)
Returns the XML representation of this Element.
|
public static final String ELEMENT
public static final String NAMESPACE
public IoTFieldsExtension(int seqNr, boolean done, NodeElement node)
public IoTFieldsExtension(int seqNr, boolean done, List<NodeElement> nodes)
public int getSequenceNr()
public boolean isDone()
public List<NodeElement> getNodes()
public String getElementName()
NamedElement
getElementName
in interface NamedElement
public String getNamespace()
ExtensionElement
getNamespace
in interface ExtensionElement
public XmlStringBuilder toXML(String enclosingNamespace)
Element
public static IoTFieldsExtension buildFor(int seqNr, boolean done, NodeInfo nodeInfo, List<? extends IoTDataField> data)
public static IoTFieldsExtension from(Message message)