Class DataForm.ReportedData
- java.lang.Object
-
- org.jivesoftware.smackx.xdata.packet.DataForm.ReportedData
-
- All Implemented Interfaces:
Element,ExtensionElement,FullyQualifiedElement,NamedElement,XmlLangElement
- Enclosing class:
- DataForm
public static class DataForm.ReportedData extends java.lang.Object implements ExtensionElement
Represents the fields that will be returned from a search. This information is useful when you try to use the jabber:iq:search namespace to return dynamic form information.
-
-
Constructor Summary
Constructors Constructor Description ReportedData(java.util.List<? extends FormField> fields)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetElementName()Returns the root element name.FormFieldgetField(java.lang.String name)java.util.List<? extends FormField>getFields()Returns the fields returned from a search.java.lang.StringgetNamespace()Returns the root element XML namespace.XmlStringBuildertoXML(XmlEnvironment xmlEnvironment)-
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
-
-
-
-
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
-
ReportedData
public ReportedData(java.util.List<? extends FormField> fields)
-
-
Method Detail
-
getElementName
public java.lang.String getElementName()
Description copied from interface:NamedElementReturns the root element name.- Specified by:
getElementNamein interfaceNamedElement- Returns:
- the element name.
-
getNamespace
public java.lang.String getNamespace()
Description copied from interface:FullyQualifiedElementReturns the root element XML namespace.- Specified by:
getNamespacein interfaceFullyQualifiedElement- Returns:
- the namespace.
-
getFields
public java.util.List<? extends FormField> getFields()
Returns the fields returned from a search.- Returns:
- the fields returned from a search.
-
toXML
public XmlStringBuilder toXML(XmlEnvironment xmlEnvironment)
-
-