Class TimestampElement
- java.lang.Object
-
- org.jivesoftware.smackx.iot.data.element.IoTDataExtensionElement
-
- org.jivesoftware.smackx.iot.data.element.TimestampElement
-
- All Implemented Interfaces:
Element
,ExtensionElement
,FullyQualifiedElement
,NamedElement
,XmlLangElement
public class TimestampElement extends IoTDataExtensionElement
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ELEMENT
-
Constructor Summary
Constructors Constructor Description TimestampElement(java.util.Date date, java.util.List<? extends IoTDataField> fields)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<? extends IoTDataField>
getDataFields()
java.lang.String
getElementName()
Returns the root element name.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 java.lang.String ELEMENT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TimestampElement
public TimestampElement(java.util.Date date, java.util.List<? extends IoTDataField> fields)
-
-
Method Detail
-
getDataFields
public java.util.List<? extends IoTDataField> getDataFields()
-
getElementName
public java.lang.String getElementName()
Description copied from interface:NamedElement
Returns the root element name.- Returns:
- the element name.
-
toXML
public XmlStringBuilder toXML(XmlEnvironment enclosingNamespace)
-
-