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
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedIoTDataField(org.jivesoftware.smackx.iot.data.element.IoTDataField.Type type, String name) -
Method Summary
Modifier and TypeMethodDescriptionfinal StringReturns the root element name.final StringgetName()protected abstract Stringfinal Stringfinal XmlStringBuildertoXML(XmlEnvironment enclosingNamespace) Methods inherited from class IoTDataExtensionElement
getNamespaceMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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:NamedElementReturns the root element name.- Returns:
- the element name.
-
toXML
-
getValueString
-
getValueInternal
-