Class Tag
- java.lang.Object
-
- org.jivesoftware.smackx.iot.discovery.element.Tag
-
- All Implemented Interfaces:
Element
,NamedElement
public class Tag extends java.lang.Object implements NamedElement
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Tag.Type
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getElementName()
Returns the root element name.java.lang.String
getName()
Tag.Type
getType()
java.lang.String
getValue()
java.lang.String
toString()
XmlStringBuilder
toXML(XmlEnvironment enclosingNamespace)
-
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getValue
public java.lang.String getValue()
-
toXML
public XmlStringBuilder toXML(XmlEnvironment enclosingNamespace)
-
getElementName
public java.lang.String getElementName()
Description copied from interface:NamedElement
Returns the root element name.- Specified by:
getElementName
in interfaceNamedElement
- Returns:
- the element name.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-