public abstract class IoTDataField extends Object implements NamedElement
| Modifier and Type | Class and Description |
|---|---|
static class |
IoTDataField.BooleanField |
static class |
IoTDataField.IntField |
| Modifier | Constructor and Description |
|---|---|
protected |
IoTDataField(org.jivesoftware.smackx.iot.data.element.IoTDataField.Type type,
String name) |
| Modifier and Type | Method and Description |
|---|---|
String |
getElementName()
Returns the root element name.
|
String |
getName() |
protected abstract String |
getValueInternal() |
String |
getValueString() |
XmlStringBuilder |
toXML()
Returns the XML representation of this Element.
|
protected IoTDataField(org.jivesoftware.smackx.iot.data.element.IoTDataField.Type type, String name)
public final String getElementName()
NamedElementgetElementName in interface NamedElementpublic final XmlStringBuilder toXML()
Elementpublic final String getValueString()
protected abstract String getValueInternal()