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 Object implements org.jivesoftware.smack.packet.ExtensionElement
Represents items of reported data.
  • Field Details

  • Constructor Details

  • Method Details

    • getElementName

      public String getElementName()
      Specified by:
      getElementName in interface org.jivesoftware.smack.packet.NamedElement
    • getNamespace

      public String getNamespace()
      Specified by:
      getNamespace in interface org.jivesoftware.smack.packet.XmlElement
    • getFields

      public 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 interface org.jivesoftware.smack.packet.Element