Class IoTDataField
- java.lang.Object
-
- org.jivesoftware.smackx.iot.data.element.IoTDataExtensionElement
-
- org.jivesoftware.smackx.iot.data.element.IoTDataField
-
- All Implemented Interfaces:
Element
,ExtensionElement
,FullyQualifiedElement
,NamedElement
,XmlLangElement
- Direct Known Subclasses:
IoTDataField.BooleanField
,IoTDataField.IntField
public abstract class IoTDataField extends IoTDataExtensionElement
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IoTDataField.BooleanField
static class
IoTDataField.IntField
-
Constructor Summary
Constructors Modifier Constructor Description protected
IoTDataField(org.jivesoftware.smackx.iot.data.element.IoTDataField.Type type, java.lang.String name)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.String
getElementName()
Returns the root element name.java.lang.String
getName()
protected abstract java.lang.String
getValueInternal()
java.lang.String
getValueString()
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
-
-
-
-
Constructor Detail
-
IoTDataField
protected IoTDataField(org.jivesoftware.smackx.iot.data.element.IoTDataField.Type type, java.lang.String name)
-
-
Method Detail
-
getName
public final java.lang.String getName()
-
getElementName
public final java.lang.String getElementName()
Description copied from interface:NamedElement
Returns the root element name.- Returns:
- the element name.
-
toXML
public final XmlStringBuilder toXML(XmlEnvironment enclosingNamespace)
-
getValueString
public final java.lang.String getValueString()
-
getValueInternal
protected abstract java.lang.String getValueInternal()
-
-