Class SetData
- java.lang.Object
-
- org.jivesoftware.smackx.iot.control.element.SetData
-
- All Implemented Interfaces:
Element,ExtensionElement,FullyQualifiedElement,NamedElement,XmlLangElement
- Direct Known Subclasses:
SetBoolData,SetDoubleData,SetIntData,SetLongData
public abstract class SetData extends Object implements ExtensionElement
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSetData.Type
-
Constructor Summary
Constructors Modifier Constructor Description protectedSetData(String name, SetData.Type type, String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetElementName()Returns the root element name.StringgetName()StringgetNamespace()Returns the root element XML namespace.SetData.TypegetType()StringgetValue()XmlStringBuildertoXML(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, wait
-
Methods inherited from interface org.jivesoftware.smack.packet.FullyQualifiedElement
getLanguage, getQName
-
-
-
-
Constructor Detail
-
SetData
protected SetData(String name, SetData.Type type, String value)
-
-
Method Detail
-
getType
public final SetData.Type getType()
-
getElementName
public final String getElementName()
Returns the root element name.- Specified by:
getElementNamein interfaceNamedElement- Returns:
- the element name.
-
getNamespace
public final String getNamespace()
Description copied from interface:FullyQualifiedElementReturns the root element XML namespace.- Specified by:
getNamespacein interfaceFullyQualifiedElement- Returns:
- the namespace.
-
toXML
public final XmlStringBuilder toXML(XmlEnvironment enclosingNamespace)
Returns the XML representation of this Element.
-
-