Class DataForm.Item
- java.lang.Object
-
- org.jivesoftware.smackx.xdata.packet.DataForm.Item
-
- All Implemented Interfaces:
org.jivesoftware.smack.packet.Element
,org.jivesoftware.smack.packet.ExtensionElement
,org.jivesoftware.smack.packet.NamedElement
,org.jivesoftware.smack.packet.XmlElement
,org.jivesoftware.smack.packet.XmlLangElement
- Enclosing class:
- DataForm
public static class DataForm.Item extends java.lang.Object implements org.jivesoftware.smack.packet.ExtensionElement
Represents items of reported data.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getElementName()
java.util.List<? extends FormField>
getFields()
Returns the fields that define the data that goes with the item.java.lang.String
getNamespace()
org.jivesoftware.smack.util.XmlStringBuilder
toXML(org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment)
-
-
-
Field Detail
-
ELEMENT
public static final java.lang.String ELEMENT
- See Also:
- Constant Field Values
-
QNAME
public static final javax.xml.namespace.QName QNAME
-
-
Constructor Detail
-
Item
public Item(java.util.List<? extends FormField> fields)
-
-
Method Detail
-
getElementName
public java.lang.String getElementName()
- Specified by:
getElementName
in interfaceorg.jivesoftware.smack.packet.NamedElement
-
getNamespace
public java.lang.String getNamespace()
- Specified by:
getNamespace
in interfaceorg.jivesoftware.smack.packet.XmlElement
-
getFields
public java.util.List<? extends FormField> getFields()
Returns the fields that define the data that goes with the item.- Returns:
- the fields that define the data that goes with the item.
-
toXML
public org.jivesoftware.smack.util.XmlStringBuilder toXML(org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment)
- Specified by:
toXML
in interfaceorg.jivesoftware.smack.packet.Element
-
-