Class SetData
java.lang.Object
org.jivesoftware.smackx.iot.control.element.SetData
- All Implemented Interfaces:
org.jivesoftware.smack.packet.Element,org.jivesoftware.smack.packet.NamedElement,org.jivesoftware.smack.packet.XmlElement,org.jivesoftware.smack.packet.XmlLangElement
- Direct Known Subclasses:
SetBoolData,SetDoubleData,SetIntData,SetLongData
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal StringReturns the root element name.final StringgetName()final Stringfinal SetData.TypegetType()final StringgetValue()final org.jivesoftware.smack.util.XmlStringBuildertoXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace) Returns the XML representation of this Element.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jivesoftware.smack.packet.Element
toXML, toXMLMethods inherited from interface org.jivesoftware.smack.packet.XmlElement
getLanguage, getQName
-
Constructor Details
-
SetData
-
-
Method Details
-
getName
-
getValue
-
getType
-
getElementName
Returns the root element name.- Specified by:
getElementNamein interfaceorg.jivesoftware.smack.packet.NamedElement- Returns:
- the element name.
-
getNamespace
- Specified by:
getNamespacein interfaceorg.jivesoftware.smack.packet.XmlElement
-
toXML
public final org.jivesoftware.smack.util.XmlStringBuilder toXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace) Returns the XML representation of this Element.- Specified by:
toXMLin interfaceorg.jivesoftware.smack.packet.Element- Returns:
- the stanza extension as XML.
-