public static class DataLayout.Section extends java.lang.Object implements DataLayout.DataFormLayoutElement
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT |
Constructor and Description |
---|
Section(java.lang.String label) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getElementName() |
java.lang.String |
getLabel()
Gets the value of the label property.
|
java.util.List<DataLayout.DataFormLayoutElement> |
getSectionLayout()
Gets the value of the sectionLayout property.
|
org.jivesoftware.smack.util.XmlStringBuilder |
toXML() |
public static final java.lang.String ELEMENT
public java.util.List<DataLayout.DataFormLayoutElement> getSectionLayout()
This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you
make to the returned list will be present inside the object. This is why there is not a set
method for the sectionLayout property.
For example, to add a new item, do as follows:
getSectionLayout().add(newItem);
Objects of the following type(s) are allowed in the list: String
,
DataLayout.Section
, DataLayout.Fieldref
and DataLayout.Reportedref
public org.jivesoftware.smack.util.XmlStringBuilder toXML()
toXML
in interface org.jivesoftware.smack.packet.Element
public java.lang.String getLabel()
String
public java.lang.String getElementName()
getElementName
in interface org.jivesoftware.smack.packet.NamedElement