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(String enclosingNamespace)
Returns the XML representation of this Element.
|
protected IoTDataField(org.jivesoftware.smackx.iot.data.element.IoTDataField.Type type, String name)
public final String getElementName()
NamedElement
getElementName
in interface NamedElement
public final XmlStringBuilder toXML(String enclosingNamespace)
Element
public final String getValueString()
protected abstract String getValueInternal()