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.FullyQualifiedElement
,org.jivesoftware.smack.packet.NamedElement
,org.jivesoftware.smack.packet.XmlLangElement
public class IoTFieldsExtension extends java.lang.Object implements org.jivesoftware.smack.packet.ExtensionElement
-
-
Constructor Summary
Constructors Constructor Description IoTFieldsExtension(int seqNr, boolean done, java.util.List<NodeElement> nodes)
IoTFieldsExtension(int seqNr, boolean done, NodeElement node)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace)
-
-
-
Field Detail
-
ELEMENT
public static final java.lang.String ELEMENT
- See Also:
- Constant Field Values
-
NAMESPACE
public static final java.lang.String NAMESPACE
- See Also:
- Constant Field Values
-
QNAME
public static final javax.xml.namespace.QName QNAME
-
-
Constructor Detail
-
IoTFieldsExtension
public IoTFieldsExtension(int seqNr, boolean done, NodeElement node)
-
IoTFieldsExtension
public IoTFieldsExtension(int seqNr, boolean done, java.util.List<NodeElement> nodes)
-
-
Method Detail
-
getSequenceNr
public int getSequenceNr()
-
isDone
public boolean isDone()
-
getNodes
public java.util.List<NodeElement> getNodes()
-
getElementName
public java.lang.String getElementName()
- Specified by:
getElementName
in interfaceorg.jivesoftware.smack.packet.NamedElement
-
getNamespace
public java.lang.String getNamespace()
- Specified by:
getNamespace
in interfaceorg.jivesoftware.smack.packet.FullyQualifiedElement
-
toXML
public org.jivesoftware.smack.util.XmlStringBuilder toXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace)
- Specified by:
toXML
in interfaceorg.jivesoftware.smack.packet.Element
-
buildFor
public static IoTFieldsExtension buildFor(int seqNr, boolean done, NodeInfo nodeInfo, java.util.List<? extends IoTDataField> data)
-
from
public static IoTFieldsExtension from(org.jivesoftware.smack.packet.Message message)
-
-