Class NodeElement
- java.lang.Object
-
- org.jivesoftware.smackx.iot.data.element.IoTDataExtensionElement
-
- org.jivesoftware.smackx.iot.data.element.NodeElement
-
- All Implemented Interfaces:
Element
,ExtensionElement
,FullyQualifiedElement
,NamedElement
,XmlLangElement
public class NodeElement extends IoTDataExtensionElement
-
-
Constructor Summary
Constructors Constructor Description NodeElement(NodeInfo nodeInfo, List<TimestampElement> timestampElements)
NodeElement(NodeInfo nodeInfo, TimestampElement timestampElement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getElementName()
Returns the root element name.List<TimestampElement>
getTimestampElements()
XmlStringBuilder
toXML(XmlEnvironment enclosingNamespace)
-
Methods inherited from class org.jivesoftware.smackx.iot.data.element.IoTDataExtensionElement
getNamespace
-
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
-
-
Constructor Detail
-
NodeElement
public NodeElement(NodeInfo nodeInfo, TimestampElement timestampElement)
-
NodeElement
public NodeElement(NodeInfo nodeInfo, List<TimestampElement> timestampElements)
-
-
Method Detail
-
getTimestampElements
public List<TimestampElement> getTimestampElements()
-
getElementName
public String getElementName()
Description copied from interface:NamedElement
Returns the root element name.- Returns:
- the element name.
-
toXML
public XmlStringBuilder toXML(XmlEnvironment enclosingNamespace)
-
-