Class IoTDataField
java.lang.Object
org.jivesoftware.smackx.iot.data.element.IoTDataExtensionElement
org.jivesoftware.smackx.iot.data.element.IoTDataField
- All Implemented Interfaces:
Element
,NamedElement
,XmlElement
,XmlLangElement
- Direct Known Subclasses:
IoTDataField.BooleanField
,IoTDataField.IntField
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Constructor Summary
ModifierConstructorDescriptionprotected
IoTDataField
(org.jivesoftware.smackx.iot.data.element.IoTDataField.Type type, String name) -
Method Summary
Modifier and TypeMethodDescriptionfinal String
Returns the root element name.final String
getName()
protected abstract String
final String
final 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.XmlElement
getLanguage, getQName
-
Constructor Details
-
IoTDataField
protected IoTDataField(org.jivesoftware.smackx.iot.data.element.IoTDataField.Type type, String name)
-
-
Method Details
-
getName
-
getElementName
Description copied from interface:NamedElement
Returns the root element name.- Returns:
- the element name.
-
toXML
-
getValueString
-
getValueInternal
-