Class IoTDataField.BooleanField
- java.lang.Object
-
- org.jivesoftware.smackx.iot.data.element.IoTDataExtensionElement
-
- org.jivesoftware.smackx.iot.data.element.IoTDataField
-
- org.jivesoftware.smackx.iot.data.element.IoTDataField.BooleanField
-
- All Implemented Interfaces:
Element
,ExtensionElement
,FullyQualifiedElement
,NamedElement
,XmlLangElement
- Enclosing class:
- IoTDataField
public static class IoTDataField.BooleanField extends IoTDataField
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jivesoftware.smackx.iot.data.element.IoTDataField
IoTDataField.BooleanField, IoTDataField.IntField
-
-
Constructor Summary
Constructors Constructor Description BooleanField(java.lang.String name, boolean value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getValue()
protected java.lang.String
getValueInternal()
-
Methods inherited from class org.jivesoftware.smackx.iot.data.element.IoTDataField
getElementName, getName, getValueString, toXML
-
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
-
BooleanField
public BooleanField(java.lang.String name, boolean value)
-
-
Method Detail
-
getValueInternal
protected java.lang.String getValueInternal()
- Specified by:
getValueInternal
in classIoTDataField
-
getValue
public boolean getValue()
-
-