Class IoTFieldsExtension
- java.lang.Object
-
- org.jivesoftware.smackx.iot.data.element.IoTFieldsExtension
-
- All Implemented Interfaces:
Element
,ExtensionElement
,FullyQualifiedElement
,NamedElement
,XmlLangElement
public class IoTFieldsExtension extends Object implements ExtensionElement
-
-
Constructor Summary
Constructors Constructor Description IoTFieldsExtension(int seqNr, boolean done, 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, 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(XmlEnvironment enclosingNamespace)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jivesoftware.smack.packet.FullyQualifiedElement
getLanguage, getQName
-
-
-
-
Field Detail
-
ELEMENT
public static final String ELEMENT
- See Also:
- Constant Field Values
-
NAMESPACE
public static final String NAMESPACE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IoTFieldsExtension
public IoTFieldsExtension(int seqNr, boolean done, NodeElement node)
-
IoTFieldsExtension
public IoTFieldsExtension(int seqNr, boolean done, List<NodeElement> nodes)
-
-
Method Detail
-
getSequenceNr
public int getSequenceNr()
-
isDone
public boolean isDone()
-
getNodes
public List<NodeElement> getNodes()
-
getElementName
public String getElementName()
Description copied from interface:NamedElement
Returns the root element name.- Specified by:
getElementName
in interfaceNamedElement
- Returns:
- the element name.
-
getNamespace
public String getNamespace()
Description copied from interface:FullyQualifiedElement
Returns the root element XML namespace.- Specified by:
getNamespace
in interfaceFullyQualifiedElement
- Returns:
- the namespace.
-
toXML
public XmlStringBuilder toXML(XmlEnvironment enclosingNamespace)
-
buildFor
public static IoTFieldsExtension buildFor(int seqNr, boolean done, NodeInfo nodeInfo, List<? extends IoTDataField> data)
-
from
public static IoTFieldsExtension from(Message message)
-
-